summaryrefslogtreecommitdiff
path: root/ecp/test/init_vconn.c
diff options
context:
space:
mode:
Diffstat (limited to 'ecp/test/init_vconn.c')
-rw-r--r--ecp/test/init_vconn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecp/test/init_vconn.c b/ecp/test/init_vconn.c
index 149b57a..64e9631 100644
--- a/ecp/test/init_vconn.c
+++ b/ecp/test/init_vconn.c
@@ -37,6 +37,7 @@ static ECPConnection *conn_new(ECPSocket *sock, unsigned char type) {
}
}
+ if (conn) ecp_conn_set_flags(conn, ECP_CONN_FLAG_GC);
return conn;
}