Skip to content

Commit c886150

Browse files
committed
add back xfree call that was dropped as part of cleanup
1 parent 79f679a commit c886150

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/tiny_tds/client.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ static void rb_tinytds_client_free(void *ptr) {
196196
cwrap->closed = 1;
197197
cwrap->userdata->closed = 1;
198198
}
199+
xfree(cwrap->userdata);
199200
xfree(ptr);
200201
}
201202

0 commit comments

Comments
 (0)