projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix an invalid free() in command handlers.
[paraslash.git]
/
command.c
diff --git
a/command.c
b/command.c
index
d08a718
..
698e275
100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-792,8
+792,6
@@
__noreturn void handle_connect(int fd, const char *peername)
ret = cmd->handler(fd, argc, argv);
mutex_lock(mmd_mutex);
mmd->num_commands++;
- free(mmd->afd.afhi.info_string);
- free(mmd->afd.afhi.chunk_table);
mutex_unlock(mmd_mutex);
if (ret >= 0)
goto out;