git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fd1988
)
delete error string in context
author
Marcel Poul
<marcel.poul@cern.ch>
Wed, 2 Nov 2011 10:01:06 +0000
(10:01 +0000)
committer
Marcel Poul
<marcel.poul@cern.ch>
Wed, 2 Nov 2011 10:01:06 +0000
(10:01 +0000)
emi.canl.canl-c/src/canl.c
patch
|
blob
|
blame
|
history
diff --git
a/emi.canl.canl-c/src/canl.c
b/emi.canl.canl-c/src/canl.c
index
42b0d0a
..
7d138fa
100644
(file)
--- a/
emi.canl.canl-c/src/canl.c
+++ b/
emi.canl.canl-c/src/canl.c
@@
-48,6
+48,11
@@
void canl_free_ctx(canl_ctx cc)
ctx->io_ctx = NULL;
}
+ if (ctx->err_msg) {
+ free(ctx->err_msg);
+ ctx->err_msg = NULL;
+ }
+
free(ctx);
cc = ctx = NULL;