aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-05-08 08:30:43 -0400
committerBen Skeggs <bskeggs@redhat.com>2017-05-16 19:09:41 -0400
commit563ad2b640955a0da21aedce1aaa332c7d016dde (patch)
treec7bfbfe9d6a5b59a415752f611f4e5def19228ea /scripts/gcc-plugins/cyc_complexity_plugin.c
parent9a2eba337cacefc95b97c2726e3efdd435b3460e (diff)
drm/nouveau/secboot: plug memory leak in ls_ucode_img_load_gr() error path
The last goto looks spurious because it releases less resources than the previous one. Also free 'img->sig' if 'ls_ucode_img_build()' fails. Fixes: 9d896f3e41a6 ("drm/nouveau/secboot: abstract LS firmware loading functions") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions