win32: Fix warning
authorРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 9 Apr 2013 12:02:54 +0000 (14:02 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 9 Apr 2013 12:02:54 +0000 (14:02 +0200)
glib/gspawn-win32-helper.c

index 80e6757..7896941 100644 (file)
@@ -341,7 +341,7 @@ main (int ignored_argc, char **ignored_argv)
           fd_toclose = g_slist_append (fd_toclose, GINT_TO_POINTER (i));
 
   /* ...so we won't get the nasty off-by-1 file descriptor leak */
-  g_slist_append (fd_toclose, NULL);
+  fd_toclose = g_slist_append (fd_toclose, NULL);
   last_item = g_slist_last (fd_toclose);
 
   /* now close all the file descriptors as necessary */