PATCH: plug memory leak in progExists()

From: Robert Wilhelm <robert.wilhelm_at_gmx.net>
Date: Mon Oct 03 2005 - 13:09:26 CEST

RCS file: /cvsroot/abi/src/af/util/unix/ut_files.cpp,v
retrieving revision 1.8
diff -u -r1.8 ut_files.cpp
--- ut_files.cpp 23 Mar 2004 00:11:49 -0000 1.8
+++ ut_files.cpp 3 Oct 2005 11:06:00 -0000
@@ -69,6 +69,7 @@

                if(laststat == 0 && (S_ISREG(statbuf.st_mode) ||
S_ISLNK(statbuf.st_mode)))
                {
+ DELETEP(utvPath);
                        return true;
                }
        }

-- 
Robert Wilhelm <robert.wilhelm@gmx.net>
Received on Mon Oct 3 13:10:25 2005

This archive was generated by hypermail 2.1.8 : Mon Oct 03 2005 - 13:10:26 CEST