midgard_object_delete: check metadata and deleted property before any memory allocation is done
midgard_object_delete: check metadata and deleted property before any
memory allocation is done

piotras/midgard-core,piotras/midgard-core,midgardproject/midgard-core,midgardproject/midgard-core,piotras/midgard-core,piotras/midgard-core,midgardproject/midgard-core,midgardproject/midgard-core