mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
Plug leaks here too. There
2005-04-19 Kjartan Maraas <kmaraas@gnome.org> * libnautilus-private/nautilus-directory-async.c: (read_dot_hidden_file): Plug leaks here too. There
This commit is contained in:
parent
df38c683a7
commit
c788155357
|
@ -1,3 +1,9 @@
|
|||
2005-04-19 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* libnautilus-private/nautilus-directory-async.c:
|
||||
(read_dot_hidden_file): Plug leaks here too. There
|
||||
were three actually :-)
|
||||
|
||||
2005-04-18 Dennis Cranston <dennis_cranston at yahoo com>
|
||||
|
||||
* src/nautilus-connect-server-dialog-main.c: (main)
|
||||
|
|
|
@ -1971,6 +1971,7 @@ read_dot_hidden_file (NautilusDirectory *directory)
|
|||
|
||||
file_info = gnome_vfs_file_info_new ();
|
||||
if (!file_info) {
|
||||
gnome_vfs_uri_unref (dot_hidden_vfs_uri);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1978,6 +1979,7 @@ read_dot_hidden_file (NautilusDirectory *directory)
|
|||
dot_hidden_vfs_uri,
|
||||
file_info,
|
||||
GNOME_VFS_FILE_INFO_DEFAULT) != GNOME_VFS_OK) {
|
||||
gnome_vfs_uri_unref (dot_hidden_vfs_uri);
|
||||
gnome_vfs_file_info_unref (file_info);
|
||||
return;
|
||||
}
|
||||
|
@ -1988,6 +1990,7 @@ read_dot_hidden_file (NautilusDirectory *directory)
|
|||
gnome_vfs_file_info_unref (file_info);
|
||||
|
||||
if (!file_ok) {
|
||||
gnome_vfs_uri_unref (dot_hidden_vfs_uri);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue