Skip to content

Commit

Permalink
test: medialibrary: fix leak on vlc_ml_media_t
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-janniaux authored and robUx4 committed Jan 30, 2023
1 parent 1a4a668 commit f22ae10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/modules/misc/medialibrary.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ static int OpenIntf(vlc_object_t *root)
vlc_sem_wait(&sem);
vlc_ml_event_unregister_callback(ml, listener);

vlc_ml_media_release(media);

return VLC_SUCCESS;
}

Expand Down

0 comments on commit f22ae10

Please sign in to comment.