1idn_free(3) libidn idn_free(3)
2
3
4
6 idn_free - API function
7
9 #include <idn.h>
10
11 void idn_free(void * ptr);
12
14 void * ptr memory region to deallocate, or NULL.
15
17 Deallocates memory region by calling free(). If ptr is NULL no opera‐
18 tion is performed.
19
20 Normally applications de-allocate strings allocated by libidn by call‐
21 ing free() directly. Under Windows, different parts of the same appli‐
22 cation may use different heap memory, and then it is important to deal‐
23 locate memory allocated within the same module that allocated it. This
24 function makes that possible.
25
27 Report bugs to <bug-libidn@gnu.org>. GNU Libidn home page:
28 http://www.gnu.org/software/libidn/ General help using GNU software:
29 http://www.gnu.org/gethelp/
30
32 Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
33 Josefsson.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for libidn is maintained as a Texinfo manual.
40 If the info and libidn programs are properly installed at your site,
41 the command
42
43 info libidn
44
45 should give you access to the complete manual.
46
47
48
49libidn 1.18 idn_free(3)