MCPcopy Create free account
hub / github.com/MapServer/MapServer / mapscript_point_object_destroy

Function mapscript_point_object_destroy

mapscript/php/point.c:428–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428static void mapscript_point_object_destroy(void *object TSRMLS_DC)
429{
430 php_point_object *php_point = (php_point_object *)object;
431
432 MAPSCRIPT_FREE_OBJECT(php_point);
433
434 MAPSCRIPT_FREE_PARENT(php_point->parent);
435
436 if (php_point->point && !php_point->is_ref) {
437 pointObj_destroy(php_point->point);
438 }
439
440 efree(object);
441}
442
443static zend_object_value mapscript_point_object_new(zend_class_entry *ce TSRMLS_DC)
444{

Callers

nothing calls this directly

Calls 1

pointObj_destroyFunction · 0.85

Tested by

no test coverage detected