mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
(wddx_add_vars) adjusted to new resource-API
This commit is contained in:
+1
-1
@@ -853,7 +853,7 @@ PHP_FUNCTION(wddx_add_vars)
|
||||
|
||||
packet_id = args[0];
|
||||
|
||||
packet = (wddx_packet *)zend_fetch_resource(packet_id, -1, "WDDX packet ID", le_wddx);
|
||||
packet = (wddx_packet *)zend_fetch_resource(packet_id, -1, "WDDX packet ID", NULL, 1, le_wddx);
|
||||
if (!packet)
|
||||
{
|
||||
efree(args);
|
||||
|
||||
Reference in New Issue
Block a user