hrev43704 adds 1 changeset to branch 'master' old head: 4ac8d3e9e45ba2e598363eb84263eb118859366a new head: 4020aec13e0e44c5b395e8a4186269951a4c10b0 ---------------------------------------------------------------------------- 4020aec: Installer: minor memory leak fix. CID 1713. [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev43704 Commit: 4020aec13e0e44c5b395e8a4186269951a4c10b0 URL: http://cgit.haiku-os.org/haiku/commit/?id=4020aec Author: Philippe Saint-Pierre <stpere@xxxxxxxxx> Date: Wed Feb 1 02:37:53 2012 UTC ---------------------------------------------------------------------------- 1 files changed, 2 insertions(+), 0 deletions(-) src/apps/installer/CopyEngine.cpp | 2 ++ ---------------------------------------------------------------------------- diff --git a/src/apps/installer/CopyEngine.cpp b/src/apps/installer/CopyEngine.cpp index d75509b..b4f4eca 100644 --- a/src/apps/installer/CopyEngine.cpp +++ b/src/apps/installer/CopyEngine.cpp @@ -182,6 +182,8 @@ printf("CopyFile - cancled\n"); if (read < 0) { ret = (status_t)read; fprintf(stderr, "Failed to read data: %s\n", strerror(ret)); + delete buffer; + delete destination; break; }