Fixed mismatching allocation and deallocation: el_ptr

This time for sure!