Radish
alpha
Docs
Sign in
H
HardenedBSD-pkg
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Clone
Radicle
Git (anonymous pull)
Log in
to clone via SSH
Source
Commits
10440
Issues
Patches
Commits
›
c6a26c286a181abdd024945bc811edda75e321fb
Fix a possible leak in pkg/set.c
Marin Atanasov Nikolov
committed
13 years ago
commit c6a26c286a181abdd024945bc811edda75e321fb
parent
18df571665ef3f24f57f942dfc667032fd9e75da
1 file changed
+3
-0
modified
pkg/set.c
@@ -113,6 +113,9 @@ exec_set(int argc, char **argv)
}
break;
default:
+
if (oldorigin != NULL)
+
free(oldorigin);
+
usage_set();
return (EX_USAGE);
}