]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Free the membuffer in membuffer_detach().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 14 Aug 2021 20:46:50 +0000 (22:46 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commit293984db989fcb4e9e03f931bea73606f7a66ffb
treea90588251505794335723f6ec4f4639979babdb4
parente85bf87e4a33514e66125547ad8b83c736023ced
mp4: Free the membuffer in membuffer_detach().

Each call to this function is followed by a call to membuffer_free(),
which frees the membuffer but not the data buffer because that was
set to NULL.

It is simpler to free the membuffer directly in membuffer_detach().
mp4.c