Skip to content

Commit 5b8fac8

Browse files
committed
MessagePackUnpacker was incorrectly using MessagePack's free_obj php_msgpack_base_free instead of php_msgpack_unpacker_free
1 parent 9204bb3 commit 5b8fac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack_class.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ void msgpack_init_class() /* {{{ */ {
511511
msgpack_unpacker_ce->create_object = php_msgpack_unpacker_new;
512512
memcpy(&msgpack_unpacker_handlers, zend_get_std_object_handlers(),sizeof msgpack_unpacker_handlers);
513513
msgpack_unpacker_handlers.offset = XtOffsetOf(php_msgpack_unpacker_t, object);
514-
msgpack_handlers.free_obj = php_msgpack_base_free;
514+
msgpack_handlers.free_obj = php_msgpack_unpacker_free;
515515

516516
}
517517
/* }}} */

0 commit comments

Comments
 (0)