File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ static void php_phongo_field_path_ensure_allocation(php_phongo_field_path* field
121
121
size_t i ;
122
122
123
123
field_path -> allocated_size = field_path -> size + PHONGO_FIELD_PATH_EXPANSION ;
124
- field_path -> elements = erealloc (field_path -> elements , sizeof (char * * ) * field_path -> allocated_size );
125
- field_path -> element_types = erealloc (field_path -> element_types , sizeof (php_phongo_bson_field_path_item_types * ) * field_path -> allocated_size );
124
+ field_path -> elements = erealloc (field_path -> elements , sizeof (char * ) * field_path -> allocated_size );
125
+ field_path -> element_types = erealloc (field_path -> element_types , sizeof (php_phongo_bson_field_path_item_types ) * field_path -> allocated_size );
126
126
127
127
for (i = level ; i < field_path -> allocated_size ; i ++ ) {
128
128
field_path -> elements [i ] = NULL ;
You can’t perform that action at this time.
0 commit comments