libgupnp-dlna: only free format caps if present
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 29 Jun 2010 17:37:34 +0000 (23:07 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 29 Jun 2010 17:37:34 +0000 (23:07 +0530)
commit3690dce6080b317f71850e995dfdce48fab37708
treef9aa9cf94f1ce1a44997dcd0ebffa9b241fab6c7
parent00ad1e80bcb71a176bb24609aa09000c06e92b3d
libgupnp-dlna: only free format caps if present

This gets rid of a GStreamer warning in certain cases when we try to
free NULL caps.
libgupnp-dlna/gupnp-dlna-load.c