Skip to content

Commit

Permalink
Pointers set by config_get_string need to be freed
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jul 12, 2015
1 parent 1ff9f89 commit 5705c30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ bool core_info_get_display_name(const char *path, char *s, size_t len)
snprintf(s, len,"%s",display_name);

free(core_name);
free(display_name);

return true;

Expand Down

0 comments on commit 5705c30

Please sign in to comment.