screenshot: don't leak message

This commit is contained in:
Stefan Kost 2009-06-26 13:14:02 +03:00
parent 8b94cd3934
commit f8506f9e1f

View file

@ -177,6 +177,7 @@ gst_play_frame_conv_convert (GstBuffer * buf, GstCaps * to_caps)
g_return_val_if_reached (NULL);
}
}
gst_message_unref (msg);
} else {
g_warning ("Could not take screenshot: %s", "timeout during conversion");
result = NULL;