[gxml] examples/c/document_new.c: remove now-erroneous unrefs
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] examples/c/document_new.c: remove now-erroneous unrefs
- Date: Fri, 23 Aug 2013 21:01:47 +0000 (UTC)
commit 35a4cca59095ddabf34a93b808023548b0ce4b90
Author: Richard Schwarting <aquarichy gmail com>
Date: Fri Aug 23 10:16:37 2013 -0400
examples/c/document_new.c: remove now-erroneous unrefs
examples/c/document_new.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/examples/c/document_new.c b/examples/c/document_new.c
index 0727af4..b2cf670 100644
--- a/examples/c/document_new.c
+++ b/examples/c/document_new.c
@@ -46,14 +46,6 @@ int main () {
g_free (str);
g_object_unref (doc);
- g_object_unref (root); // TODO: figure out what happens to root if you deallocate doc?! */
- // TODO: perhaps see whether we can make it that all the nodes that are returned are weak references
- g_object_unref (owner);
- g_object_unref (books);
- g_object_unref (book);
- /* In util/ there's a small programme that tells you when ownership
- is transfered (that is, you are given a return value that you own
- and must free. */
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]