Skip to content

Commit

Permalink
Fix memory leak in main
Browse files Browse the repository at this point in the history
  • Loading branch information
Okkonen-GitHub committed Jul 25, 2024
1 parent 6802a8d commit 7546f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) {
// call function
func(&i);
}

hm_destroy(hm);

}
// install from source function
Expand Down Expand Up @@ -576,4 +576,4 @@ int _clean_up_(unsigned int* i)
{
msg(FATAL, "No source directory exists");
}
}
}

0 comments on commit 7546f24

Please sign in to comment.