Patch by Jean-Francois Dockes in github #49
Patch by Jean-Francois Dockes in github #49

As far as I can see, the following patch clears the latest crash. I see
no reason for the list_head to be dynamically allocated, but maybe I'm
wrong, maybe check:

mrjimenez/pupnp,mrjimenez/pupnp,mrjimenez/pupnp,mrjimenez/pupnp