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 de‐
23 allocate memory allocated within the same module that allocated it.
24 This function makes that possible.
25
27 Report bugs to <help-libidn@gnu.org>.
28 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
29 GNU Libidn home page: https://www.gnu.org/software/libidn/
30
31
33 Copyright © 2002-2022 Simon Josefsson.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright no‐
36 tice 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. As an alternative you
46 may obtain the manual from:
47
48 https://www.gnu.org/software/libidn/manual/
49
50libidn 1.41 idn_free(3)