g_file_make_directory_with_parents: refix error propagation
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 14 Aug 2012 15:00:14 +0000 (11:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 16 Aug 2012 22:08:03 +0000 (18:08 -0400)
commit732470a3594351ffc3d085a755271844c462e9c8
treee2e59e056a97bf29ee2b680019f722dbdc785319
parentb60168a5f5b4bcfa8f8ed175cd18a0cfaea96063
g_file_make_directory_with_parents: refix error propagation

The patch from b0bce4ad triggered segfaults - see:

 http://redmine.yorba.org/issues/5656

We were clearing the error before dereferencing it in the next
go-around of the while loop - this wasn't necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=680823
gio/gfile.c