projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407fe91
)
NULL SIM pointer on close -> free requires it.
author
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Jul 2000 05:53:14 +0000
(
05:53
+0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Mon, 3 Jul 2000 05:53:14 +0000
(
05:53
+0000)
lib/silcsim/silcsim.c
patch
|
blob
|
history
diff --git
a/lib/silcsim/silcsim.c
b/lib/silcsim/silcsim.c
index 5afc108db31dec3f049f21e96a43ed0b1250643d..ab9b3433615c6923d212c040773869922626aa46 100644
(file)
--- a/
lib/silcsim/silcsim.c
+++ b/
lib/silcsim/silcsim.c
@@
-108,6
+108,7
@@
int silc_sim_close(SilcSimContext *sim)
/* Close the library */
dlclose(sim->handle);
+ sim->handle = NULL;
return TRUE;
}