Skip to content

Commit

Permalink
clib-uninstall: fix possible memory leak (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter15914 authored Jan 5, 2025
1 parent 1d505c8 commit bc327b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clib-uninstall.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static char *get_uninstall_target(const char *name, const char *version) {

size = asprintf(&target, "cd %s && %s", dir, val);
if (-1 == size)
return NULL;
target = NULL;

done:
if (root)
Expand Down

0 comments on commit bc327b2

Please sign in to comment.