]> git.tuebingen.mpg.de Git - paraslash.git/commit - string.c
string: Overhaul para_strdup().
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 27 Oct 2021 17:14:03 +0000 (19:14 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Jul 2022 17:22:05 +0000 (19:22 +0200)
commit89e0813c310816e05d22c0bfab7b1be07b3fc841
tree5153a5b0a001eb71e5a3363490257f4309d7fb3f
parent55adba3f7fc5619bd433c13d07ecb62e7b4d46a8
string: Overhaul para_strdup().

We don't need to print an error message because it will be clear what
has happened when the assertion triggers.

Reword the documentation and mention that the memory allocated by
this function must be freed by the caller.
string.c