mirror of https://github.com/dynup/kpatch
create-diff-object: free hint variable on failure
Make sure we are freeing previously allocated "hint" variable on error before exiting. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
054915e957
commit
7129bb48c9
|
@ -3462,6 +3462,7 @@ int main(int argc, char *argv[])
|
|||
log_debug("no changed functions were found, but callbacks exist\n");
|
||||
else {
|
||||
log_debug("no changed functions were found\n");
|
||||
free(hint);
|
||||
return EXIT_STATUS_NO_CHANGE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue