gstregistrybinary: add +1 after error checking
gstregistrybinary: add +1 after error checking

The current code made the error checking pointless by changing -1 to 0 in error
cases. Also don't leak a pad template on error.

Lachann/gstreamer,ylatuya/gstreamer,StreamUtils/gstreamer,lubosz/gstreamer,collects/gstreamer,Lachann/gstreamer,ensonic/gstreamer,cablelabs/gstreamer,lovebug356/gstreamer,mparis/gstreamer,krichter722/gstreamer,lubosz/gstreamer,krieger-od/gstreamer,StreamUtils/gstreamer,cfoch/gstreamer,mrchapp/gstreamer,mparis/gstreamer,lovebug356/gstreamer,jpakkane/gstreamer,krichter722/gstreamer,justinjoy/gstreamer,ahmedammar/platform_external_gst_gstreamer,justinjoy/gstreamer,jpxiong/gstreamer,cfoch/gstreamer,drothlis/gstreamer,cablelabs/gstreamer,Lachann/gstreamer,mrchapp/gstreamer,Lachann/gstreamer,magcius/gstreamer,ensonic/gstreamer,ylatuya/gstreamer,drothlis/gstreamer,centricular/gstreamer,ylatuya/gstreamer,surround-io/gstreamer,ensonic/gstreamer,magcius/gstreamer,mparis/gstreamer,mparis/gstreamer,justinjoy/gstreamer,cablelabs/gstreamer,mparis/gstreamer,magcius/gstreamer,collects/gstreamer,shelsonjava/gstreamer,Lachann/gstreamer,lovebug356/gstreamer,collects/gstreamer,cablelabs/gstreamer,Distrotech/gstreamer,surround-io/gstreamer,mrchapp/gstreamer,jpxiong/gstreamer,StreamUtils/gstreamer,shelsonjava/gstreamer,justinjoy/gstreamer,lubosz/gstreamer,ensonic/gstreamer,Distrotech/gstreamer,lubosz/gstreamer,lubosz/gstreamer,Distrotech/gstreamer,jpakkane/gstreamer,krieger-od/gstreamer,mrchapp/gstreamer,shelsonjava/gstreamer,Distrotech/gstreamer,surround-io/gstreamer,cfoch/gstreamer,cfoch/gstreamer,krieger-od/gstreamer,collects/gstreamer,centricular/gstreamer,Distrotech/gstreamer,lovebug356/gstreamer,centricular/gstreamer,centricular/gstreamer,shelsonjava/gstreamer,shelsonjava/gstreamer,ahmedammar/platform_external_gst_gstreamer,ylatuya/gstreamer,jpxiong/gstreamer,ahmedammar/platform_external_gst_gstreamer,centricular/gstreamer,ahmedammar/platform_external_gst_gstreamer,surround-io/gstreamer,drothlis/gstreamer,jpakkane/gstreamer,drothlis/gstreamer,drothlis/gstreamer,jpxiong/gstreamer,ensonic/gstreamer,magcius/gstreamer,jpakkane/gstreamer,collects/gstreamer,surround-io/gstreamer,lovebug356/gstreamer,jpxiong/gstreamer,krichter722/gstreamer,cfoch/gstreamer,StreamUtils/gstreamer,mrchapp/gstreamer,ahmedammar/platform_external_gst_gstreamer,jpakkane/gstreamer,krieger-od/gstreamer,krieger-od/gstreamer,StreamUtils/gstreamer,cablelabs/gstreamer,krichter722/gstreamer,magcius/gstreamer,krichter722/gstreamer,justinjoy/gstreamer,ylatuya/gstreamer