Sensor contacts do not call EndContact upon destruction

I believe I have found a bug.

On line 44 of Box2D\Dynamics\b2ContactManager.cpp.
The following code may not call EndContact if the contact is a sensor contact because sensor contacts generate no manifold and have no contact points.

If this line was replaced with a check to see if the contact has its touching flag set, I believe this would fix the problem.

Code:
void b2ContactManager::Destroy(b2Contact* c)
{
   ...

   if (c->m_manifold.m_pointCount > 0)
   {
      m_contactListener->EndContact(c);
   }

        ...
}


What is the correct procedure for bug reporting?
Do I need to create a testbed project demonstrating this bug?
Please file bugs here: http://code.google.com/p/box2d/issues/list

Thanks!

Original thread: https://box2d.org/forum/viewtopic.php?t=4180