Add sequence
[babeltrace.git] / types / array.c
index 153a38e62e43e8c11a583a268c6285b0f5f9af8a..ebd3c9a60ab67fcaeac2ed6991fe14aab3badd5b 100644 (file)
@@ -77,6 +77,7 @@ struct type_class_array *array_type_new(const char *name, size_t len,
        return array_class;
 
 error_register:
+       array_class->elem->free(&array_class->elem->p);
        g_free(array_class);
        return NULL;
 }
This page took 0.031907 seconds and 4 git commands to generate.