Commit e6ea1bfb authored by Thomas Guillem's avatar Thomas Guillem

keystore test: fix invalid free

parent 13fffefd
......@@ -85,6 +85,7 @@ ks_find(vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX],
assert(strcmp(psz_value1, psz_value2) == 0);
}
}
if (i_entries > 0)
vlc_keystore_release_entries(p_entries, i_entries);
return i_entries;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment