alternatives: fix a double free in error path.

This commit is contained in:
Juan RP 2015-11-15 09:23:51 +01:00
parent 9ef83cfa69
commit 15ab86c90d

View File

@ -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);