alternatives: fix a double free in error path.
This commit is contained in:
parent
9ef83cfa69
commit
15ab86c90d
@ -193,7 +193,6 @@ create_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname)
|
||||
"dir '%s' for group '%s': %s\n",
|
||||
lnk, grname, strerror(errno));
|
||||
free(tgt_dup);
|
||||
free(tgt);
|
||||
free(lnk_dup);
|
||||
free(lnk);
|
||||
free(l);
|
||||
|
Loading…
Reference in New Issue
Block a user