Browse files

Fixed SegFault when classes promise is incorrectly declared.

(Issue 1074)
  • Loading branch information...
1 parent ebd4d3b commit d1f25fec5425ef50e2803adb0ede2ccda110f13b maciejpatucha committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/attributes.c
View
2 src/attributes.c
@@ -224,7 +224,7 @@ Attributes GetDatabaseAttributes(Promise *pp)
Attributes GetClassContextAttributes(Promise *pp)
{
- Attributes a;
+ Attributes a = { {0} };;
a.transaction = GetTransactionConstraints(pp);
a.classes = GetClassDefinitionConstraints(pp);

0 comments on commit d1f25fe

Please sign in to comment.