[vlc-commits] [Git][videolan/vlc][master] demux: image: fix leak on error

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Tue Apr 14 14:17:33 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
093ad617 by Steve Lhomme at 2026-04-14T15:56:09+02:00
demux: image: fix leak on error

As mentioned in https://code.videolan.org/videolan/vlc/-/merge_requests/8754#note_531008

- - - - -


1 changed file:

- modules/demux/image.c


Changes:

=====================================
modules/demux/image.c
=====================================
@@ -810,6 +810,7 @@ static int Open(vlc_object_t *object)
     {
         if (data)
             block_Release(data);
+        free(sys);
         return VLC_EGENERIC;
     }
     sys->data        = data;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/093ad617ba0bf1bf4fc34517dfc8f737a561c3bd

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/093ad617ba0bf1bf4fc34517dfc8f737a561c3bd
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list