diff options
author | Andreas Henriksson <andreas@fatal.se> | 2014-06-13 18:48:18 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-13 19:01:07 +0200 |
commit | 223217749e57996336d5730b0a28716cca56d45d (patch) | |
tree | 781b4582499a5cf67c41a4a07f5e1bc1e30d7b3d /src/core/swap.h | |
parent | f8a0bb5285024b6ce372c3157e761e6543ebdcd2 (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/core/swap.h')
0 files changed, 0 insertions, 0 deletions