flag_destroy.c 186 B

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