libsysprof-capture: Use unlink() rather than g_unlink()

They’re equivalent.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: #40
This commit is contained in:
Philip Withnall
2020-07-02 12:49:44 +01:00
parent 621e7ea314
commit 8641789d87

View File

@ -988,7 +988,7 @@ handle_errno:
if (fd != -1)
{
close (fd);
g_unlink (filename);
unlink (filename);
}
return false;