kdata_destroy —
    destroy plotting data
#include <cairo.h>
  
  #include <kplot.h>
void
  
  kdata_destroy(struct kdata
    *data);
The kdata_destroy function destroys
    reference-counted data sources for
    kplot(3).
    Internally, it dereferences and, if applicable, frees the source.