Skip to content
Snippets Groups Projects
Commit 4d0d48af authored by BenceJanosSzabo's avatar BenceJanosSzabo
Browse files

Fixed a memory leak


Change-Id: I1ef8202857bb0aefd5115ab242b7d98d4b49a62b
Signed-off-by: default avatarBenceJanosSzabo <bence.janos.szabo@ericsson.com>
parent 56d02c49
No related branches found
No related tags found
No related merge requests found
...@@ -4098,6 +4098,7 @@ compile_time: ...@@ -4098,6 +4098,7 @@ compile_time:
str = t->generate_code_init(str, embedded_name); str = t->generate_code_init(str, embedded_name);
Free(embedded_name); Free(embedded_name);
} }
Free(fieldname_str);
} }
} else { } else {
str = mputprintf(str, "%s = NULL_VALUE;\n", name); str = mputprintf(str, "%s = NULL_VALUE;\n", name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment