summaryrefslogtreecommitdiff
path: root/beryl-plugins-vidcap
diff options
context:
space:
mode:
authorguillaume <guillaume@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-28 13:34:48 +0000
committerguillaume <guillaume@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-28 13:34:48 +0000
commita6d835d79e5824a36f0c0700cea19854369de798 (patch)
tree22777caaa8d298b6319241b2c43c5e5adc760d64 /beryl-plugins-vidcap
parent8ff585d36dc845a1f7566cb48f59fa6534313330 (diff)
downloadmarex-dev-a6d835d79e5824a36f0c0700cea19854369de798.tar.gz
marex-dev-a6d835d79e5824a36f0c0700cea19854369de798.tar.bz2
beryl-plugins-vidcap: fix segfault (patch by lePhilousophe), closes #1009
git-svn-id: file:///beryl/trunk@3279 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins-vidcap')
-rw-r--r--beryl-plugins-vidcap/capture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/beryl-plugins-vidcap/capture.c b/beryl-plugins-vidcap/capture.c
index f74e2f0..ba1fb42 100644
--- a/beryl-plugins-vidcap/capture.c
+++ b/beryl-plugins-vidcap/capture.c
@@ -165,6 +165,7 @@ static void berylOptionDefault(CompOption *o, ...)
o->value.i = va_arg(args, int);
o->rest.i.min = va_arg(args, int);
o->rest.i.max = va_arg(args, int);
+ break;
case CompOptionTypeString:
o->value.s = strdup(va_arg(args, char *));
/* FIXME: set restrictions */