diff options
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r-- | src/logic/slbt_exec_link.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 6f1e4a1..32731b3 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -110,6 +110,9 @@ static int slbt_get_deps_meta( while (fscanf(fdeps,"%s\n",deplibs) == 1) depsmeta->depscnt++; + if (deplibs != depfile) + free(deplibs); + ret = ferror(fdeps) ? -1 : 0; fclose(fdeps); |