projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cadf4f
)
gio: The tmpl parameter to g_file_new_tmp can be NULL
author
Debarshi Ray
<debarshir@gnome.org>
Thu, 17 May 2012 04:43:54 +0000
(06:43 +0200)
committer
Debarshi Ray
<debarshir@gnome.org>
Mon, 21 May 2012 15:54:25 +0000
(17:54 +0200)
Fixes: https://bugzilla.gnome.org/676208
gio/gfile.c
patch
|
blob
|
history
diff --git
a/gio/gfile.c
b/gio/gfile.c
index
8406a93
..
d29c5cf
100644
(file)
--- a/
gio/gfile.c
+++ b/
gio/gfile.c
@@
-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);