diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-09-17 10:14:34 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-09-17 10:14:34 -0400 |
commit | ec16bfbd79f6fc966162ca2733c2f27d2d455406 (patch) | |
tree | f778522e216b43524e197957fed12690e819d6ed | |
parent | b305f90fb11dcb89a1132743c73416c4cad021ef (diff) | |
download | nautilus-ec16bfbd79f6fc966162ca2733c2f27d2d455406.tar.gz |
file: don't leak a NautilusFileUndoInfo
nautilus_file_undo_manager_set_action() takes a ref to the undo info
object, so we are leaking an extra reference.
-rw-r--r-- | libnautilus-private/nautilus-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c index 9c0ab1320..046a1c1aa 100644 --- a/libnautilus-private/nautilus-file.c +++ b/libnautilus-private/nautilus-file.c @@ -1667,6 +1667,7 @@ nautilus_file_operation_free (NautilusFileOperation *op) if (op->undo_info != NULL) { nautilus_file_undo_manager_set_action (op->undo_info); + g_object_unref (op->undo_info); } g_free (op); |