MCPcopy Create free account
hub / github.com/coreutils/coreutils / freeline

Function freeline

src/join.c:344–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344static void
345freeline (struct line *line)
346{
347 if (line == NULL)
348 return;
349 free (line->fields);
350 line->fields = NULL;
351 free (line->buf.buffer);
352 line->buf.buffer = NULL;
353}
354
355/* Return <0 if the join field in LINE1 compares less than the one in LINE2;
356 >0 if it compares greater; 0 if it compares equal.

Callers 4

get_lineFunction · 0.85
free_sparelineFunction · 0.85
delseqFunction · 0.85
joinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected