@@ -1555,7 +1555,7 @@ size_t sizeTmp = 0, int* alloc = 0, char* v = 0) {
1555
1555
// Get container name
1556
1556
res = SWIG_AsCharPtrAndSize (keys->Get (i), &v, &sizeTmp, &alloc[i]);
1557
1557
if (!SWIG_IsOK (res)) {
1558
- freeargStoreMultiPut ($1 , $2 , $3 , $ 4 , alloc);
1558
+ freeargStoreMultiPut ($1 , $2 , $3 , i , alloc);
1559
1559
%variable_fail (res, " String" , " containerName" );
1560
1560
}
1561
1561
if (v) {
@@ -1566,7 +1566,7 @@ size_t sizeTmp = 0, int* alloc = 0, char* v = 0) {
1566
1566
}
1567
1567
// Get row
1568
1568
if (!(obj->Get (keys->Get (i)))->IsArray ()) {
1569
- freeargStoreMultiPut ($1 , $2 , $3 , $ 4 , alloc);
1569
+ freeargStoreMultiPut ($1 , $2 , $3 , i , alloc);
1570
1570
SWIG_V8_Raise (" Expected an array as rowList" );
1571
1571
SWIG_fail;
1572
1572
}
@@ -1595,7 +1595,7 @@ size_t sizeTmp = 0, int* alloc = 0, char* v = 0) {
1595
1595
sprintf (errorMsg, " Invalid value for column %d, type should be : %d" , k, typeArr[k]);
1596
1596
delete containerInfoTmp;
1597
1597
free ((void *) typeArr);
1598
- freeargStoreMultiPut ($1 , $2 , $3 , $ 4 , alloc);
1598
+ freeargStoreMultiPut ($1 , $2 , $3 , i , alloc);
1599
1599
SWIG_V8_Raise (errorMsg);
1600
1600
SWIG_fail;
1601
1601
}
0 commit comments