message: add gst_clear_message()
authorNiels De Graef <nielsdegraef@gmail.com>
Sun, 4 Nov 2018 17:54:44 +0000 (18:54 +0100)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 5 Nov 2018 11:06:30 +0000 (11:06 +0000)
commit24f1fb252aeb0c725bc709191d061069d00b96b1
tree53f732ab3bf5e42116c3188cb8a391dff3a35050
parentefbfa54a4a6e0f01733e8dada547a4fb32c57648
message: add gst_clear_message()

Basically, you can use this instead of using gst_message_unref (which
needs to be preceded by a NULL-check).

Also fixes #275
gst/gstmessage.h