Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
eb85d062 by Johannes Kauffmann at 2024-11-28T06:27:41+00:00
musicbrainz: fix leak
(cherry picked from commit 2edddb01da361d1040736d7fda637e118ea6aee1) (edited)
edited:
- the 3.0 uses the other json parser which outputs the result differently
- - - - -
1 changed file:
- modules/misc/webservices/musicbrainz.c
Changes:
=====================================
modules/misc/webservices/musicbrainz.c
=====================================
@@ -56,7 +56,11 @@ static musicbrainz_lookup_t *
musicbrainz_lookup(vlc_object_t *p_obj, const char
{
p_lookup->root = json_parse_document(p_obj, p_buffer);
if (!p_lookup->root)
+ {
msg_Dbg(p_obj, "No results");
+ musicbrainz_lookup_release(p_lookup);
+ p_lookup = NULL;
+ }
}
free(p_buffer);
return p_lookup;
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/eb85d062cf9bc101177165efb20e88b87aa4e768
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/eb85d062cf9bc101177165efb20e88b87aa4e768
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits