-
Philip Withnall authored
The new typeof() macro version of g_clear_pointer() was evaluating its pointer argument more than once, meaning any side effects would be evaluated multiple times. The existing (other) macro version of g_clear_pointer() was evaluating its argument exactly once. This mismatch could have confused people or lead to subtle bugs. See #1494 . Signed-off-by: Philip Withnall <withnall@endlessm.com>
2e9c31af