libcroco r319 - in trunk: . src
- From: robsta svn gnome org
- To: svn-commits-list gnome org
- Subject: libcroco r319 - in trunk: . src
- Date: Fri, 26 Sep 2008 14:32:08 +0000 (UTC)
Author: robsta
Date: Fri Sep 26 14:32:08 2008
New Revision: 319
URL: http://svn.gnome.org/viewvc/libcroco?rev=319&view=rev
Log:
* src/cr-doc-handler.c (cr_doc_handler_new): Bug 553937 - CRDocHandler instances created with reference count of 0
Modified:
trunk/ChangeLog
trunk/src/cr-doc-handler.c
Modified: trunk/src/cr-doc-handler.c
==============================================================================
--- trunk/src/cr-doc-handler.c (original)
+++ trunk/src/cr-doc-handler.c Fri Sep 26 14:32:08 2008
@@ -76,6 +76,7 @@
g_return_val_if_fail (result, NULL);
memset (result, 0, sizeof (CRDocHandler));
+ result->ref_count++;
result->priv = g_try_malloc (sizeof (CRDocHandlerPriv));
if (!result->priv) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]