projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
847f1b0
)
LRN: don't free memory on the stack
author
Christian Grothoff
<christian@grothoff.org>
Sat, 18 Feb 2012 13:50:45 +0000
(13:50 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 18 Feb 2012 13:50:45 +0000
(13:50 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index b2a70559359df312c03aadb30799eb5e4f598e70..e4d9f172a0bf68a8c06adaf37a5c734d1d3c2fdb 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-473,7
+473,6
@@
GNUNET_DISK_get_blocks_available (const char *part)
}
GNUNET_free (path);
wcsncpy (szDrive, wpath, 3);
- GNUNET_free (wpath);
szDrive[3] = 0;
if (!GetDiskFreeSpaceW (szDrive, &dwDummy, &dwDummy, &dwBlocks, &dwDummy))
{