projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed memset not needed
[silc.git]
/
lib
/
silcutil
/
silcbuffer.h
diff --git
a/lib/silcutil/silcbuffer.h
b/lib/silcutil/silcbuffer.h
index d32b046baf34a8836627d7bb40e47dfd87c73cbf..8658e608a4f8c788f65e6888086b856d8d60bef2 100644
(file)
--- a/
lib/silcutil/silcbuffer.h
+++ b/
lib/silcutil/silcbuffer.h
@@
-144,7
+144,6
@@
SilcBuffer silc_buffer_alloc(unsigned int len)
/* Allocate the actual data area */
data = silc_calloc(len, sizeof(*data));
- memset(data, 0, len);
/* Set pointers to the new buffer */
sb->truelen = len;