File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ PHP_METHOD(GetOptions, decoder)
134
134
}
135
135
136
136
pcbc_update_property (pcbc_get_options_ce , getThis (), ("decoder" ), arg );
137
+ zval_ptr_dtor (arg );
137
138
RETURN_ZVAL (getThis (), 1 , 0 );
138
139
}
139
140
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ PHP_METHOD(InsertOptions, encoder)
134
134
}
135
135
136
136
pcbc_update_property (pcbc_insert_options_ce , getThis (), ("encoder" ), arg );
137
+ zval_ptr_dtor (arg );
137
138
RETURN_ZVAL (getThis (), 1 , 0 );
138
139
}
139
140
@@ -316,6 +317,7 @@ PHP_METHOD(UpsertOptions, encoder)
316
317
}
317
318
318
319
pcbc_update_property (pcbc_upsert_options_ce , getThis (), ("encoder" ), arg );
320
+ zval_ptr_dtor (arg );
319
321
RETURN_ZVAL (getThis (), 1 , 0 );
320
322
}
321
323
@@ -536,6 +538,7 @@ PHP_METHOD(ReplaceOptions, encoder)
536
538
}
537
539
538
540
pcbc_update_property (pcbc_replace_options_ce , getThis (), ("encoder" ), arg );
541
+ zval_ptr_dtor (arg );
539
542
RETURN_ZVAL (getThis (), 1 , 0 );
540
543
}
541
544
You can’t perform that action at this time.
0 commit comments