diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-08-20 13:07:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-08-20 13:07:10 (GMT) |
commit | 2e1a370214bb47d28fed954396330ab2e33bc5a4 (patch) | |
tree | 3631983b41a9b2707a5603c763730f85602f6e8f /src | |
parent | 1688ab7ec2a4165c7a6b9dd8531ee3ea98b9e4ee (diff) | |
download | Doxygen-2e1a370214bb47d28fed954396330ab2e33bc5a4.zip Doxygen-2e1a370214bb47d28fed954396330ab2e33bc5a4.tar.gz Doxygen-2e1a370214bb47d28fed954396330ab2e33bc5a4.tar.bz2 |
Fixed potential null pointer dereference
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 |
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 |