* src/set-fields.c (reset_fields): Remove, as it’s not needed for
-fsanitize=leak even when ‘lint’ is defined. All uses removed.
ok = false;
}
- IF_LINT (reset_fields ());
-
return ok ? EXIT_SUCCESS : EXIT_FAILURE;
}
frp = xrealloc (frp, n_frp * sizeof (struct field_range_pair));
frp[n_frp - 1].lo = frp[n_frp - 1].hi = UINTMAX_MAX;
}
-
-void
-reset_fields (void)
-{
- n_frp = 0 ;
- n_frp_allocated = 0;
- free (frp);
- frp = NULL;
-}
/* allocates and initializes the FRP array and N_FRP count */
extern void set_fields (char const *fieldstr, unsigned int options);
-/* frees memory allocated by set_fields() */
-extern void reset_fields (void);
-
#endif