Skip to content

Commit 03d68ca

Browse files
committed
Merge pull request #554
2 parents adeb78f + 96c6b3f commit 03d68ca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/bson.c

-1
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,6 @@ void phongo_zval_to_bson(zval *data, php_phongo_bson_flags_t flags, bson_t *bson
13881388
if (ht_data_from_properties) {
13891389
/* Skip protected and private properties */
13901390
if (ZSTR_VAL(string_key)[0] == '\0' && ZSTR_LEN(string_key) > 0) {
1391-
zend_string_release(string_key);
13921391
continue;
13931392
}
13941393
}

0 commit comments

Comments
 (0)