Fix invalid delete operator for free descriptors memory error