Code

connection: Let sdb_connection_close not deallocate the connection.
[sysdb.git] / t / unit / frontend / connection_test.c
index de5b01007f4521a8a81b19dfa2810095c468c479..6ce11ff511a97a30f67f9d482d1368806ff21a94 100644 (file)
@@ -234,6 +234,7 @@ START_TEST(test_conn_accept)
 
        unlink(socket_path);
        sdb_connection_close(conn);
+       sdb_object_deref(SDB_OBJ(conn));
        pthread_join(thr, NULL);
 }
 END_TEST