flag_destroy.c 166 B

123456789101112
  1. #include <grass/gis.h>
  2. #include "flag.h"
  3. int flag_destroy(FLAG * flags)
  4. {
  5. G_free(flags->array[0]);
  6. G_free(flags->array);
  7. G_free(flags);
  8. return 0;
  9. }