From fe432d33cc0550ca658694f19e34cf0f70f0e803 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 6 Jul 2012 15:40:37 +0200 Subject: Fix segfault caused by wrong memcpy parameter --- src/cameras/uca-ufo-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 2969b75..e61bbc5 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -189,7 +189,7 @@ static void uca_ufo_camera_grab(UcaCamera *camera, gpointer *data, GError **erro */ /* assert(err == size); */ - memcpy(data, src, size); + memcpy(*data, src, size); /* * Another problem here. What does this help us? At this point we have -- cgit v1.2.3