projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Applied fixed from cras to fix crashes in irssi.
[silc.git]
/
lib
/
silcutil
/
silcbuffer.h
diff --git
a/lib/silcutil/silcbuffer.h
b/lib/silcutil/silcbuffer.h
index b495296e613240dfeefec9282789a15ab2ab7743..e0214337d7b8322b937d921d89d8ed358f5df2e4 100644
(file)
--- a/
lib/silcutil/silcbuffer.h
+++ b/
lib/silcutil/silcbuffer.h
@@
-157,7
+157,9
@@
static inline
void silc_buffer_free(SilcBuffer sb)
{
if (sb) {
+#ifdef SILC_DEBUG
memset(sb->head, 'F', sb->truelen);
+#endif
silc_free(sb->head);
silc_free(sb);
}