summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-07-22 06:54:00 +0000
committerMichi Henning <michi@zeroc.com>2002-07-22 06:54:00 +0000
commit427323e7d7800914ed2a18f1851ce8df212ab0b3 (patch)
tree2ad9a9b226b97f1d538041ecb73c3952a988d7f6 /cpp/src
parentAdded sanity checks for local types, so a non-local interface can't have an (diff)
downloadice-427323e7d7800914ed2a18f1851ce8df212ab0b3.tar.bz2
ice-427323e7d7800914ed2a18f1851ce8df212ab0b3.tar.xz
ice-427323e7d7800914ed2a18f1851ce8df212ab0b3.zip
Fixed null dereference caused by silly typo in exception action.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/Grammar.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Grammar.y b/cpp/src/Slice/Grammar.y
index 43d98d82d9b..c119d4af163 100644
--- a/cpp/src/Slice/Grammar.y
+++ b/cpp/src/Slice/Grammar.y
@@ -805,7 +805,7 @@ exception
ExceptionPtr exception = cont->lookupException(scoped->v);
if(!exception)
{
- $$ = cont->createException(IceUtil::generateUUID(), 0, false);
+ exception = cont->createException(IceUtil::generateUUID(), 0, false);
}
cont->checkIntroduced(scoped->v, exception);
$$ = exception;