fix: Adding NULL pointer derefernce on set_ll_free_one.
This commit is contained in:
@@ -28,8 +28,9 @@
|
||||
if (exp != act) \
|
||||
{ \
|
||||
test->passed = false; \
|
||||
test->error_msg = format_string( \
|
||||
"Expected %d to be %d\n Failed with message: " msg, act, exp); \
|
||||
test->error_msg = \
|
||||
format_string("Expected %d to be %d\n Failed with message: %s", \
|
||||
act, exp, msg); \
|
||||
return; \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user