8000 Another MAKE_STD_ZVAL · jrtkcoder/phpredis@9c2cdc7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c2cdc7

Browse files
Jan-ESean-Der
authored andcommitted
Another MAKE_STD_ZVAL
1 parent c9e0b68 commit 9c2cdc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2075,7 +2075,8 @@ redis_unserialize(RedisSock* redis_sock, const char *val, int val_len,
20752075
case REDIS_SERIALIZER_IGBINARY:
20762076
#ifdef HAVE_REDIS_IGBINARY
20772077
if(!*return_value) {
2078-
MAKE_STD_ZVAL(*return_value);
2078+
// TODO Sean-Der, heap allocation
2079+
//MAKE_STD_ZVAL(*return_value);
20792080
rv_free = 1;
20802081
}
20812082
if(igbinary_unserialize((const uint8_t *)val, (size_t)val_len,

0 commit comments

Comments
 (0)
0