summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2008-11-28 15:17:53 -0300
committerJorge Arellano Cid <jcid@dillo.org>2008-11-28 15:17:53 -0300
commita421e30f41308a9e76421460ff44768f45842bf7 (patch)
tree0e302b606f60d2b84a90a032ed0902b6d678dfde /test
parenta08e75ec068c30a3ca908969f857fb4ded7f68ea (diff)
- Fixed a segfault bug in the test/ directory.
Diffstat (limited to 'test')
-rw-r--r--test/form.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/form.cc b/test/form.cc
index 5e8e0471..b337a25b 100644
--- a/test/form.cc
+++ b/test/form.cc
@@ -60,7 +60,7 @@ Form::RadioButtonResourceDecorator::RadioButtonResourceDecorator
this->values = new const char*[n + 1];
for(int i = 0; i < n; i++)
this->values[i] = strdup (values[i]);
- values[n] = 0;
+ this->values[n] = 0;
}
Form::RadioButtonResourceDecorator::~RadioButtonResourceDecorator ()