projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a couple of memory leaks detected by Valgrind.
[citadel.git]
/
webcit
/
tools.c
diff --git
a/webcit/tools.c
b/webcit/tools.c
index 809afee948cd49c24c3bb09a7f483192a3fc83fb..df27503ffe072b5d916e122a1007fa84337386a2 100644
(file)
--- a/
webcit/tools.c
+++ b/
webcit/tools.c
@@
-45,7
+45,7
@@
char *safestrncpy(char *dest, const char *src, size_t n)
*/
int num_tokens(char *source, char tok)
{
- int a;
+ int a
= 0
;
int count = 1;
if (source == NULL)