GNOME Bugzilla – Bug 751840
inputselector: unnecessary check is always true
Last modified: 2015-08-16 13:36:56 UTC
Created attachment 306622 [details] [review] proposed patch Can event ever be NULL in the check? event has been dereferenced by GST_EVENT_TYPE (), and no case frees the pointer. I propose to remove the unnecessary check which seems to will always be True. CID #1308955
Comment on attachment 306622 [details] [review] proposed patch I don't think event can be NULL there either.
Review of attachment 306622 [details] [review]: Thanks for the review Tim :) commit c635f38cdc39b11de18ecf21e39e598435b91e7a Author: Luis de Bethencourt <luis.bg@samsung.com> Date: Thu Jul 2 15:10:43 2015 +0100 inputselector: remove always-true check event can't be NULL, it has been dereferenced by GST_EVENT_TYPE (), and no case frees the pointer. Remove unnecessary check which will always be True. CID #1308955