X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=types%2Fsequence.c;fp=types%2Fsequence.c;h=ae91ef87798683b6958892d32fc331c3da09c0cb;hp=ed719bc5d553ef3b34d5125c38dcd771076ec1a9;hb=518de31ce4f6ec7e12b81c9fed54e5af0ece7f4b;hpb=3abe83c77fdaadea8528e7787bafe1ed6c16a1ac diff --git a/types/sequence.c b/types/sequence.c index ed719bc5..ae91ef87 100644 --- a/types/sequence.c +++ b/types/sequence.c @@ -59,8 +59,8 @@ int sequence_rw(struct stream_pos *pos, struct definition *definition) str = g_string_new(""); g_string_printf(str, "[%" PRIu64 "]", i); - (void) g_string_free(str, TRUE); name = g_quark_from_string(str->str); + (void) g_string_free(str, TRUE); field = (struct definition **) &g_ptr_array_index(sequence_definition->elems, i); *field = sequence_declaration->elem->definition_new(sequence_declaration->elem,