summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-08-20 13:07:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-08-20 13:07:10 (GMT)
commit347f313fd93041ce8acf08c4927cb763d5f2d3cd (patch)
tree3631983b41a9b2707a5603c763730f85602f6e8f /src
parent3e9b5fe7f5432869109952836a318c453645d572 (diff)
downloadDoxygen-347f313fd93041ce8acf08c4927cb763d5f2d3cd.zip
Doxygen-347f313fd93041ce8acf08c4927cb763d5f2d3cd.tar.gz
Doxygen-347f313fd93041ce8acf08c4927cb763d5f2d3cd.tar.bz2
Fixed potential null pointer dereference
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
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