Skip to content

Commit 53202e4

Browse files
committed
apt: debconf-helper: Fix g_object_unref (socket) assertion error
Fixes the following assertion error when "pk-debconf-helper" exits. Aug 19 19:45:19 debian pk-debconf-help[22042]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Refer: PackageKit#886 (comment)
1 parent c8e1438 commit 53202e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/packagekit-glib2/pk-client-helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ pk_client_helper_start_with_socket (PkClientHelper *client_helper,
531531
priv->envp = g_strdupv (envp);
532532

533533
/* Set the socket */
534-
priv->socket = socket;
534+
g_set_object (&priv->socket, socket);
535535

536536
/* socket has data */
537537
fd = g_socket_get_fd (priv->socket);

0 commit comments

Comments
 (0)