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-2013 Simon Josefsson.
33 Copying and distribution of this file, with or without modification,
34 are permitted in any medium without royalty provided the copyright
35 notice and this notice are preserved.
36
38 The full documentation for libidn is maintained as a Texinfo manual.
39 If the info and libidn programs are properly installed at your site,
40 the command
41
42 info libidn
43
44 should give you access to the complete manual.
45
46
47
48libidn 1.28 idn_free(3)