possible segfault in rrd_fetch

git-svn-id: http://svn.php.net/repository/pecl/rrd/trunk@331272 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Miroslav Kubelik
2013-09-03 07:53:55 +00:00
parent e6653b1f15
commit e5589d4479

1
rrd.c
View File

@@ -134,6 +134,7 @@ PHP_FUNCTION(rrd_fetch)
zend_hash_move_forward(Z_ARRVAL_P(zv_data_array));
zval_dtor(zv_timestamp);
efree(zv_timestamp);
}
}
add_assoc_zval(return_value, "data", zv_data_array);