diff options
Diffstat (limited to 'kmailcvt/main.cpp')
-rw-r--r-- | kmailcvt/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kmailcvt/main.cpp b/kmailcvt/main.cpp index aea1edde5..87ab0c819 100644 --- a/kmailcvt/main.cpp +++ b/kmailcvt/main.cpp @@ -48,8 +48,10 @@ int main(int argc, char *argv[]) DCOPClient *client=a.dcopClient(); if (!client->attach()) { + delete kmailcvt; return 1; } - - return a.exec(); + int ret = a.exec(); + delete kmailcvt; + return ret; } |