fix double free
authorChristian Grothoff <christian@grothoff.org>
Fri, 11 Jun 2010 10:58:24 +0000 (10:58 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 11 Jun 2010 10:58:24 +0000 (10:58 +0000)
src/fs/fs.c

index 34850f14cb38fae22802e5b330cb780a7c0e25b6..4107e137abd1118e8c414612571a17a98c14846a 100644 (file)
@@ -1810,6 +1810,7 @@ GNUNET_FS_download_sync_ (struct GNUNET_FS_DownloadContext *dc)
       goto cleanup;
     }
   GNUNET_free_non_null (uris);
+  uris = NULL;
   if (GNUNET_OK !=
       GNUNET_BIO_write_close (wh))
     {