projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Major audio format handler cleanups.
[paraslash.git]
/
client_common.c
diff --git
a/client_common.c
b/client_common.c
index c1e23f7a53d228bde4b3c26149432a71029327ad..5bce7fb4c21d7a9dfaa6e7e0a220fe57bc7ad8e0 100644
(file)
--- a/
client_common.c
+++ b/
client_common.c
@@
-64,6
+64,7
@@
void client_close(struct client_task *ct)
disable_crypt(ct->fd);
close(ct->fd);
}
disable_crypt(ct->fd);
close(ct->fd);
}
+ free(ct->buf);
free(ct->user);
free(ct->config_file);
free(ct->key_file);
free(ct->user);
free(ct->config_file);
free(ct->key_file);
@@
-327,6
+328,7
@@
int client_open(int argc, char *argv[], struct client_task **ct_ptr,
int ret;
struct client_task *ct = para_calloc(sizeof(struct client_task));
int ret;
struct client_task *ct = para_calloc(sizeof(struct client_task));
+ ct->buf = para_malloc(CLIENT_BUFSIZE);
*ct_ptr = ct;
ct->fd = -1;
ret = -E_CLIENT_SYNTAX;
*ct_ptr = ct;
ct->fd = -1;
ret = -E_CLIENT_SYNTAX;