libtconv-0.1 manual
tconv_free
void tconv_free(tconv * const tcP);
declared in tconv.h, include tconv.h

tcP handle of an existing tconv instance.

Destructor. Should be called when a tconv object is no longer needed. It does not return any value. If NULL is passed as tcP, the function safely ignores it and does not attempt to deallocate any memory.

Example
/* C source */

#include "tconv.h"

void main(){
  tconv *tcP;

  tcP = tconv_init("pl_PL.utf8", "pl_PL.iso_8859-2");

  /* more code here */

  tconv_free(tcP); 

}
Copyright 2015 TinyIT All rights reserved
Last modified 2015-06-04