diff --git a/sys/androidmedia/gst-android-hardware-camera.c b/sys/androidmedia/gst-android-hardware-camera.c index 6a16cf8ee0..fe4c80ebce 100644 --- a/sys/androidmedia/gst-android-hardware-camera.c +++ b/sys/androidmedia/gst-android-hardware-camera.c @@ -334,7 +334,7 @@ static gboolean _init_classes (void) { JNIEnv *env; - GError *err; + GError *err = NULL; jclass klass; jfieldID fieldID;