Skip to content

Commit 4d39faf

Browse files
committed
Cleanup
1 parent da6e6fc commit 4d39faf

21 files changed

+0
-21
lines changed

php_phongo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ zend_object_handlers* phongo_get_std_object_handlers(void);
7878
do { \
7979
if (is_temp) { \
8080
zend_hash_destroy((props)); \
81-
FREE_HASHTABLE(props); \
8281
} \
8382
} while (0)
8483

src/BSON/Binary.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ static void php_phongo_binary_free_object(zend_object* object)
215215

216216
if (intern->properties) {
217217
zend_hash_destroy(intern->properties);
218-
FREE_HASHTABLE(intern->properties);
219218
}
220219
}
221220

src/BSON/DBPointer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ static void php_phongo_dbpointer_free_object(zend_object* object)
178178

179179
if (intern->properties) {
180180
zend_hash_destroy(intern->properties);
181-
FREE_HASHTABLE(intern->properties);
182181
}
183182
}
184183

src/BSON/Decimal128.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ static void php_phongo_decimal128_free_object(zend_object* object)
170170

171171
if (intern->properties) {
172172
zend_hash_destroy(intern->properties);
173-
FREE_HASHTABLE(intern->properties);
174173
}
175174
}
176175

src/BSON/Document.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ static void php_phongo_document_free_object(zend_object* object)
448448

449449
if (intern->properties) {
450450
zend_hash_destroy(intern->properties);
451-
FREE_HASHTABLE(intern->properties);
452451
}
453452
}
454453

src/BSON/Int64.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ static void php_phongo_int64_free_object(zend_object* object)
177177

178178
if (intern->properties) {
179179
zend_hash_destroy(intern->properties);
180-
FREE_HASHTABLE(intern->properties);
181180
}
182181
}
183182

src/BSON/Iterator.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ static void php_phongo_iterator_free_object(zend_object* object)
250250

251251
if (intern->properties) {
252252
zend_hash_destroy(intern->properties);
253-
FREE_HASHTABLE(intern->properties);
254253
}
255254

256255
php_phongo_iterator_free_current(intern);

src/BSON/Javascript.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ static void php_phongo_javascript_free_object(zend_object* object)
264264

265265
if (intern->properties) {
266266
zend_hash_destroy(intern->properties);
267-
FREE_HASHTABLE(intern->properties);
268267
}
269268
}
270269

src/BSON/ObjectId.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ static void php_phongo_objectid_free_object(zend_object* object)
204204

205205
if (intern->properties) {
206206
zend_hash_destroy(intern->properties);
207-
FREE_HASHTABLE(intern->properties);
208207
}
209208
}
210209

src/BSON/PackedArray.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ static void php_phongo_packedarray_free_object(zend_object* object)
432432

433433
if (intern->properties) {
434434
zend_hash_destroy(intern->properties);
435-
FREE_HASHTABLE(intern->properties);
436435
}
437436
}
438437

0 commit comments

Comments
 (0)