core: Minor code cleanup
This commit is contained in:
parent
fa06a4dcea
commit
fd58e16a8d
|
|
@ -81,15 +81,15 @@ ot_gfile_load_contents_utf8 (GFile *file,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (contents_out)
|
if (contents_out)
|
||||||
|
{
|
||||||
*contents_out = ret_contents;
|
*contents_out = ret_contents;
|
||||||
else
|
|
||||||
g_free (ret_contents);
|
|
||||||
ret_contents = NULL;
|
ret_contents = NULL;
|
||||||
|
}
|
||||||
if (etag_out)
|
if (etag_out)
|
||||||
|
{
|
||||||
*etag_out = ret_etag;
|
*etag_out = ret_etag;
|
||||||
else
|
|
||||||
g_free (ret_etag);
|
|
||||||
ret_etag = NULL;
|
ret_etag = NULL;
|
||||||
|
}
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
g_free (ret_contents);
|
g_free (ret_contents);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue