We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0152fd commit edf8502Copy full SHA for edf8502
src/tarantool_schema.c
@@ -464,10 +464,10 @@ schema_add_space(
464
) {
465
const char *tuple = *data;
466
if (mp_typeof(*tuple) != MP_ARRAY)
467
- goto error;
+ goto error_return;
468
uint32_t tuple_len = mp_decode_array(&tuple);
469
if (tuple_len < 6)
470
471
struct schema_space_value *space_number = NULL, *space_string = NULL;
472
space_string = pemalloc(sizeof(struct schema_space_value), 1);
473
if (space_string == NULL)
@@ -548,6 +548,7 @@ schema_add_space(
548
return 0;
549
error:
550
schema_space_value_free(space_string);
551
+error_return:
552
return -1;
553
}
554
0 commit comments