[nautilus-actions] Unref the GPatternSpec after use
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Unref the GPatternSpec after use
- Date: Sat, 31 Jul 2010 09:03:11 +0000 (UTC)
commit 2f3d491cd045eac46c2208789171425a3cea3fc8
Author: Pierre Wieser <pwieser trychlos org>
Date: Fri Jul 30 12:54:22 2010 +0200
Unref the GPatternSpec after use
ChangeLog | 3 +++
src/core/na-icontext.c | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f2a8a72..ecb3f4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
2010-07-30 Pierre Wieser <pwieser trychlos org>
* src/core/na-icontext.c (is_candidate_for_basenames):
+ Unref the GPatternSpec after use.
+
+ * src/core/na-icontext.c (is_candidate_for_basenames):
Implement the function.
* src/core/na-selected-info.c:
diff --git a/src/core/na-icontext.c b/src/core/na-icontext.c
index 2e32515..e7b3412 100644
--- a/src/core/na-icontext.c
+++ b/src/core/na-icontext.c
@@ -778,6 +778,7 @@ is_candidate_for_basenames( const NAIContext *object, guint target, GList *files
}
}
+ g_object_unref( pattern_spec );
g_free( pattern );
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]