Commit 6e32f0a6 authored by Debarshi Ray's avatar Debarshi Ray

gio: The tmpl parameter to g_file_new_tmp can be NULL

Fixes: https://bugzilla.gnome.org/676208
parent 7cadf4f1
......@@ -5937,7 +5937,6 @@ g_file_new_tmp (const char *tmpl,
GFile *file;
GFileOutputStream *output;
g_return_val_if_fail (tmpl != NULL, NULL);
g_return_val_if_fail (iostream != NULL, NULL);
fd = g_file_open_tmp (tmpl, &path, error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment