Mercurial > trustbridge
changeset 947:dbf5ea18cb20
Free the get_install_dir return value.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 26 Aug 2014 17:04:11 +0200 |
parents | 171124737c76 |
children | 3baee3445502 |
files | cinst/nssstore_linux.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/cinst/nssstore_linux.c Tue Aug 26 17:03:50 2014 +0200 +++ b/cinst/nssstore_linux.c Tue Aug 26 17:04:11 2014 +0200 @@ -93,6 +93,7 @@ argv[0] = xmalloc (exe_path_len + 1); ret = snprintf(argv[0], exe_path_len + 1, "%s%s", inst_dir, NSS_PROCESS_NAME); + xfree (inst_dir); if (ret < 0 || (size_t) ret != exe_path_len) { ERRORPRINTF ("Error setting executable variable.\n");