summaryrefslogtreecommitdiff
path: root/src/shared/sleep-config.c
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2014-06-13 18:48:18 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 19:01:07 +0200
commit223217749e57996336d5730b0a28716cca56d45d (patch)
tree781b4582499a5cf67c41a4a07f5e1bc1e30d7b3d /src/shared/sleep-config.c
parentf8a0bb5285024b6ce372c3157e761e6543ebdcd2 (diff)
install: fix invalid free() in unit_file_mask()
int unit_file_mask(...) in ./src/shared/install.c calls get_config_path(...) which can in 4 error cases return without setting "ret", and thus "prefix" can be uninitialized when unit_file_mask(...) finishes (which it does directly after the error is returned from get_config_path(...)).
Diffstat (limited to 'src/shared/sleep-config.c')
0 files changed, 0 insertions, 0 deletions