Workarounded writing files after finalization-of-parents bugfix.
authorshort <>
Fri, 12 Sep 2003 07:35:19 +0000 (07:35 +0000)
committershort <>
Fri, 12 Sep 2003 07:35:19 +0000 (07:35 +0000)
 - FIXME: Currently we never finalize any SharedCacheMap.

src/libcaptive/cc/sharedcachemap.c

index 8a8f7f9..9f917a6 100644 (file)
@@ -271,6 +271,11 @@ CaptiveSharedCacheMapObject *captive_shared_cache_map_object;
                                CAPTIVE_SHARED_CACHE_MAP_TYPE_OBJECT,   /* object_type */
                                NULL);  /* first_property_name; FIXME: support properties */
 
+               /* FIXME: When to drop SharedCacheMap?
+                * Currently we never close it.
+                */
+               g_object_ref(captive_shared_cache_map_object);
+
                /* W32 references twice. */
                ObReferenceObject(FileObject);
                captive_shared_cache_map_object->FileObject=FileObject;