ucimap: fix possible use of memory after it is freed
authorPetr Štetiar <ynezz@true.cz>
Mon, 4 Nov 2019 23:43:46 +0000 (00:43 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 14 Nov 2019 16:11:34 +0000 (17:11 +0100)
commita2cab3b088a29b885e33b923edb062badfb92346
treedb3bd265319119fc04a29c5a68c1cae98ef37578
parent9cf978bc79641691f0c603c71fcfa98c1626ce59
ucimap: fix possible use of memory after it is freed

scan-build from clang version 9 has reported following issue:

 ucimap.c:710:8: warning: Use of memory after it is freed
        err = ucimap_parse_options(map, sm, sd, s);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Petr Štetiar <ynezz@true.cz>
ucimap.c