Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
small cleanup using xstring_get
Baptiste Daroussin committed 5 years ago
commit b8d18352be8107405abff49ee650b23595d228b9
parent fe6c21711291bb5c61b921446ccb7162a95b08df
1 file changed +2 -4
modified libpkg/utils.c
@@ -282,10 +282,8 @@ format_exec_cmd(char **dest, const char *in, const char *prefix,
		in++;
	}

-
	fclose(buf->fp);
-
	*dest = buf->buf;
-
	free(buf);
-
	
+
	*dest = xstring_get(buf);
+

	return (EPKG_OK);
}