summaryrefslogtreecommitdiff
path: root/gnat.adc
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-05-16 22:27:45 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-05-23 09:02:07 +0000
commit9742ae1d11dab3357835fab7d7e3577dde4e0480 (patch)
tree2b72d9fdbbc7508fecf42acf6438092150714edc /gnat.adc
parent4b688ab3fe6a8db4985a6e6cdad5def661f4066a (diff)
downloadcoreboot-9742ae1d11dab3357835fab7d7e3577dde4e0480.tar.xz
util/romcc: Fix memory leak
The 'new_type' function already allocates memory, so it is only necessary to clone the existing type if this function is not called. Change-Id: I47065204c5f4b6bab022bd7ccf19838c3ce1f86e Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Found-by: Coverity Scan CID 1129106 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32921 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions