]> git.tuebingen.mpg.de Git - paraslash.git/commit
mp4: Use para_strdup().
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 9 Aug 2021 18:05:10 +0000 (20:05 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:35 +0000 (21:37 +0200)
commit39a3eb513e1a98a3a0cc54c38dacb89451ffe88e
treef8f03efc43b777c2f32a079bd0f2cdde2ad74af7
parentc93f610da7ffa9a672e70242ebd08c5093e33665
mp4: Use para_strdup().

Like malloc(), strdup() may fail. The current code does not always
check that. Using the paraslash wrapper avoids the issue and has the
additional benefit that para_strdup(NULL) does not segfault.
mp4.c