projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do not copy the audio file header
[paraslash.git]
/
client_common.c
diff --git
a/client_common.c
b/client_common.c
index 48b46da44e73768335724790a2cb973459dd66de..58dbdb4bac00f09401172a2d1930021b38aa49e1 100644
(file)
--- a/
client_common.c
+++ b/
client_common.c
@@
-81,6
+81,7
@@
void client_close(struct private_client_data *pcd)
free(pcd->user);
free(pcd->config_file);
free(pcd->key_file);
+ client_cmdline_parser_free(&pcd->conf);
free(pcd);
}
@@
-179,6
+180,7
@@
out:
if (ret < 0) {
PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
client_close(pcd);
+ *pcd_ptr = NULL;
}
return ret;
}