Skip to content
Commit 29af538d authored by Martin Wührer's avatar Martin Wührer Committed by Andrei Vagin
Browse files

c-lib: added missing strdup-null checks.



This commit checks after each strdup() call if the call was successful.
If not, the function that calls strdup() returns an error.

This requires, that the return value of several functions has to be
changed from void to int.

Signed-off-by: default avatarMartin Wührer <martin.wuehrer@artech.at>
parent f572d1de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment