Skip to content

Commit

Permalink
Fix sol_ptr_free() unit test #2
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Chakravarti <abhishek@taranjali.org>
  • Loading branch information
achakravarti committed Feb 24, 2019
1 parent 0769bb1 commit ec26836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ptr.t.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ static sol_erno free_02(void)
sol_ptr_free((sol_ptr**) &ptr);

/* check test condition */
sol_assert (!ptr, SOL_ERNO_TEST);
sol_assert (!*ptr, SOL_ERNO_TEST);

SOL_CATCH:
/* throw current exception, if any */
Expand Down

0 comments on commit ec26836

Please sign in to comment.