From: Peter Johnson Date: Tue, 28 Mar 2006 02:08:46 +0000 (-0000) Subject: * cv-type.c (cv_type_create): Initialize leaves. X-Git-Tag: v0.5.0rc2~5^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=001d6d895667224f3aa343c48ce7601ba3c603b8;p=yasm * cv-type.c (cv_type_create): Initialize leaves. Noticed by: Brian Gladman svn path=/trunk/yasm/; revision=1432 --- diff --git a/modules/dbgfmts/codeview/cv-type.c b/modules/dbgfmts/codeview/cv-type.c index fe74e31c..dfd41109 100644 --- a/modules/dbgfmts/codeview/cv-type.c +++ b/modules/dbgfmts/codeview/cv-type.c @@ -672,6 +672,7 @@ cv_type_create(yasm_dbgfmt_cv *dbgfmt_cv, unsigned long indx) type->dbgfmt_cv = dbgfmt_cv; type->indx = indx; type->num_leaves = 0; + type->leaves = NULL; return type; }