summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-12 22:52:35 +0200
committerGravatar Jonathan Beck2008-08-21 19:01:35 +0200
commitf526a360da6aba9a015a1685db03d587ab7c4dbe (patch)
treeed5c426dd59b37ddb0102522da1386c0c829b19f /src
parente9e663d5979163daa9f7f34fe47305a03694b619 (diff)
downloadlibplist-f526a360da6aba9a015a1685db03d587ab7c4dbe.tar.gz
libplist-f526a360da6aba9a015a1685db03d587ab7c4dbe.tar.bz2
free file after requesting info
Diffstat (limited to 'src')
-rw-r--r--src/ifuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index a9d1c9a..92f5d43 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -65,6 +65,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) {
stbuf->st_gid = getgid();
afc_close_file(afc,file);
+ free(file);
}
return res;