[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1829 - GNUnet/src/applications/fs/fsui
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1829 - GNUnet/src/applications/fs/fsui |
Date: |
Sun, 21 Aug 2005 17:07:49 -0700 (PDT) |
Author: grothoff
Date: 2005-08-21 17:07:48 -0700 (Sun, 21 Aug 2005)
New Revision: 1829
Modified:
GNUnet/src/applications/fs/fsui/upload.c
Log:
fixing leak
Modified: GNUnet/src/applications/fs/fsui/upload.c
===================================================================
--- GNUnet/src/applications/fs/fsui/upload.c 2005-08-21 23:43:22 UTC (rev
1828)
+++ GNUnet/src/applications/fs/fsui/upload.c 2005-08-22 00:07:48 UTC (rev
1829)
@@ -139,6 +139,7 @@
ECRS_addToMetaData(*meta,
EXTRACTOR_MIMETYPE,
GNUNET_DIRECTORY_MIME);
+ data = NULL;
if (OK == ECRS_createDirectory(&data,
&len,
backup->fiCount,
@@ -188,6 +189,7 @@
UNLINK(tempName);
}
FREE(tempName);
+ FREENONNULL(data);
}
if (ret != OK) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1829 - GNUnet/src/applications/fs/fsui,
grothoff <=