trace: don't leak file descriptor in error path
authorDaniel Golle <daniel@makrotopia.org>
Sun, 5 Sep 2021 13:22:33 +0000 (14:22 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 15 Sep 2021 20:43:16 +0000 (21:43 +0100)
commit8a60e7e066cb0b364cae13c524dce16743633b0a
treef780f04290ecf1ddb5ccec721c96d5e1bf22fa18
parent773e8da41532b23888511cd864fbd251ecadc577
trace: don't leak file descriptor in error path

Coverity CID: 1491022 Resource leak
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
trace/trace.c