git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebfd1e
)
Bug fix
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 1 Apr 2009 17:55:37 +0000
(17:55 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 1 Apr 2009 17:55:37 +0000
(17:55 +0000)
fd_fusemount.c
patch
|
blob
|
history
diff --git
a/fd_fusemount.c
b/fd_fusemount.c
index
bd334b0
..
5c29c98
100644
(file)
--- a/
fd_fusemount.c
+++ b/
fd_fusemount.c
@@
-45,7
+45,6
@@
int set_magic_fd (char *data, int new_fd) {
tail = strchr(ptr+3,',');
sprintf(new_data,"%sfd=%d%s",head,new_fd,tail);
strcpy(data,new_data);
- free(tail);
free(head);
free(new_data);
return fd;