diff options
| author | Michael Biebl <biebl@debian.org> | 2011-04-08 07:31:15 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-04-08 07:31:15 +0200 |
| commit | 9f612fa9c09bbdc00071d871316da870c6bf0023 (patch) | |
| tree | 9c1be60eceefb3b069df4d2780f9c14967a62edc /libnm-glib/nm-object-cache.c | |
| parent | af468d82c62191b070d569257eb2f2ac61da98cc (diff) | |
| parent | f75dd6fd1975146623052b843b182dc32c3fbe46 (diff) | |
Merge commit 'upstream/0.8.998' into experimental
Diffstat (limited to 'libnm-glib/nm-object-cache.c')
| -rw-r--r-- | libnm-glib/nm-object-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-glib/nm-object-cache.c b/libnm-glib/nm-object-cache.c index fdbca00f..c43b4273 100644 --- a/libnm-glib/nm-object-cache.c +++ b/libnm-glib/nm-object-cache.c @@ -67,6 +67,6 @@ _nm_object_cache_get (const char *path) _init_cache (); object = g_hash_table_lookup (cache, path); - return object; + return object ? g_object_ref (object) : NULL; } |