Fix a memory leak.
Test for the right thing before tring to do anything. Check malloc return value (fix potential segfault).
Showing
Please register or sign in to comment
Test for the right thing before tring to do anything. Check malloc return value (fix potential segfault).