Don't need to call g_free() on a value known to be NULL.
2005-09-21 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkselection-win32.c (_gdk_win32_selection_convert_to_dib): Don't need to call g_free() on a value known to be NULL.
This commit is contained in:
committed by
Tor Lillqvist
parent
897cf3b056
commit
cd90db1183
@@ -1117,7 +1117,6 @@ _gdk_win32_selection_convert_to_dib (HGLOBAL hdata,
|
||||
if (!(target_name = gdk_atom_name (target)))
|
||||
{
|
||||
GlobalFree (hdata);
|
||||
g_free (target_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user