Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit e43912e

Browse files
author
Monte Goulding
committed
[[ CID 117577 ]] Memory - illegal accesses (USE_AFTER_FREE)
1 parent 57cac1c commit e43912e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lcidlc/src/InterfaceGenerate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,7 @@ bool InterfaceGenerate(InterfaceRef self, const char *p_output)
18091809

18101810
if (t_success)
18111811
t_success = CoderFinish(t_coder);
1812-
else
1812+
else if (t_coder != nil)
18131813
CoderCancel(t_coder);
18141814

18151815
if (t_success && t_java_output_filename != nil)

0 commit comments

Comments
 (0)