diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-01-21 16:55:13 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-08 17:04:24 +0200 |
commit | 6e359ab114fe4bfdaff0c16af9d0c2946fddb696 (patch) | |
tree | 1ba548a8ed81297b75dd1f8781e8237857887cab | |
parent | 8f70b98a83edff9c537ad58c746f2aa27e535240 (diff) |
Revert "proxy: Unref OvirtProxy::api when finalizing"
OvirtProxy::api was already unref'ed a few lines before in
the same method.
This reverts commit dc19dcfbd3c0a45c7538b36b5b4ee5b77eab1623.
-rw-r--r-- | govirt/ovirt-proxy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/govirt/ovirt-proxy.c b/govirt/ovirt-proxy.c index a79a6ac..3c7f9ce 100644 --- a/govirt/ovirt-proxy.c +++ b/govirt/ovirt-proxy.c @@ -841,10 +841,6 @@ ovirt_proxy_dispose(GObject *obj) proxy->priv->display_ca = NULL; } - if (proxy->priv->api != NULL) { - g_object_unref(proxy->priv->api); - } - G_OBJECT_CLASS(ovirt_proxy_parent_class)->dispose(obj); } |