commit | de27fd97529437331451070c81b226a43507c0a1 | [log] [tgz] |
---|---|---|
author | Michael Heimpold <michael.heimpold@i2se.com> | Tue Dec 18 14:49:37 2018 +0100 |
committer | Chris Ball <chris@printf.net> | Fri Oct 04 20:47:24 2019 -0400 |
tree | c1e9ebfcc03f41bb6c12f5d2543c19835aaad45b | |
parent | de0715d5b06560904b45633cc6e01fe89d9f508b [diff] |
Cleanup memory in error case In case that we leave due to malformed string, free the allocated memory before returning. Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com> Cc: Michael Heimpold <mhei@heimpold.de> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Chris Ball <chris@printf.net>