projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea9c96
)
fix leak
author
Miklos Szeredi
<miklos@szeredi.hu>
Sat, 26 Jun 2004 21:11:25 +0000
(21:11 +0000)
committer
Miklos Szeredi
<miklos@szeredi.hu>
Sat, 26 Jun 2004 21:11:25 +0000
(21:11 +0000)
ChangeLog
patch
|
blob
|
history
lib/fuse.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 27e92266215d54591ffdece89b43959dda6bbcb0..50288f432accdf1fa5f6cdcc6f8d13230d6516e5 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2004-06-24 Miklos Szeredi <mszeredi@inf.bme.hu>
+
+ * Fix memory leak in open (Valient Gough)
+
2004-06-24 Miklos Szeredi <mszeredi@inf.bme.hu>
* Add "close after delete" support to libfuse (patch by Valient
diff --git
a/lib/fuse.c
b/lib/fuse.c
index 639b713890b632f64517b6f945969094eca4bb3c..2b7947944f00ef2535f174d485fc66d7f3e93ee8 100644
(file)
--- a/
lib/fuse.c
+++ b/
lib/fuse.c
@@
-968,6
+968,8
@@
static void do_open(struct fuse *f, struct fuse_in_header *in,
pthread_mutex_unlock(&f->lock);
}
}
+ if (path)
+ free(path);
}
static void do_flush(struct fuse *f, struct fuse_in_header *in)