xvimagesink: free owned discarded pool configuration
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index d63492b..93d62d6 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -1960,6 +1960,7 @@
       GST_DEBUG_OBJECT (xvimagesink, "pool has different caps");
       /* different caps, we can't use this pool */
       gst_object_unref (pool);
+      gst_structure_free (config);
       pool = NULL;
     }
   }