hotplug-dispatch: yet another rare memory leak disovered by Coverity
authorDaniel Golle <daniel@makrotopia.org>
Fri, 13 Aug 2021 18:04:08 +0000 (19:04 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 14 Aug 2021 17:57:44 +0000 (18:57 +0100)
commit48638ad4f875719a09bd99dabbd6359ef9ffa404
tree9630c888e1784b5ee8f6a10851100d8e162fa8b7
parent9f233f555f80d1c416656c04ab81d19edc738f07
hotplug-dispatch: yet another rare memory leak disovered by Coverity

Free newly allocated hotplug context in case of premature return.

Coverity CID: 1490077
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
hotplug-dispatch.c