env-util: fix memory leak (#5962)
authorRonny Chevalier <chevalier.ronny@gmail.com>
Sun, 14 May 2017 14:30:40 +0000 (16:30 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 14 May 2017 14:30:40 +0000 (10:30 -0400)
commit16eefcafedeecf0e282add6c1eadeebcb3ad0609
treed8d3940e6158056292fbb5f7f101759671535248
parent0839f42ebfbe27cb0de2a618197bbd4bd6d5a6f8
env-util: fix memory leak (#5962)

If cunescape succeeds, but the assignment is not valid, uce is not freed.
src/basic/env-util.c
src/test/test-env-util.c