diff options
-rw-r--r-- | redis_array_impl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redis_array_impl.c b/redis_array_impl.c index 7c6f238f..bb229dd0 100644 --- a/redis_array_impl.c +++ b/redis_array_impl.c @@ -176,6 +176,10 @@ RedisArray *ra_load_array(const char *name TSRMLS_DC) { double d_connect_timeout = 0; HashTable *hHosts = NULL, *hPrev = NULL; + /* Initialize callbacks to undefined */ + ZVAL_UNDEF(&z_fun); + ZVAL_UNDEF(&z_dist); + /* find entry */ if(!ra_find_name(name)) return ra; |