diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-08-18 20:35:49 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-08-18 20:35:49 +0000 |
commit | 1c64fdbb32f30f481041b7ed860478b726838b3e (patch) | |
tree | 3d73f0daf9bce083dc34eddf2304a6aa21b53b87 /src/util/StringList.c | |
parent | 136669a76f1759a667f334d4ceb733ef2952d7d9 (diff) |
Initialize all items in the StringList structure to NULL when a list
is created
Fixes Cactus/1201
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2959 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/StringList.c')
-rw-r--r-- | src/util/StringList.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/StringList.c b/src/util/StringList.c index 47186cba..7ab88994 100644 --- a/src/util/StringList.c +++ b/src/util/StringList.c @@ -79,6 +79,7 @@ uStringList *Util_StringListCreate(int size) this->list=calloc(size+1,sizeof(struct iInternalStringList)); this->current = NULL; + this->head = NULL; this->fill=0; } |