From 347f313fd93041ce8acf08c4927cb763d5f2d3cd Mon Sep 17 00:00:00 2001 From: dimitri Date: Thu, 20 Aug 2009 13:07:10 +0000 Subject: Fixed potential null pointer dereference --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index b823d50..d6440d3 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -3137,7 +3137,7 @@ static QCString getCanonicalTypeForIdentifier( if (cd && cd==d) { - *tSpec=""; + if (tSpec) *tSpec=""; return ""; } else if (cd) // resolves to a known class type -- cgit v0.12