diff --git a/core_info.c b/core_info.c index 21bc847d62c..5734936ff6f 100644 --- a/core_info.c +++ b/core_info.c @@ -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;