summaryrefslogtreecommitdiffstats
path: root/xpa/doc/pod/xpacleanup.pod
blob: 2d55e5a13420fb12ed42ed48b79ebbd941cab29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
=pod

=head1 NAME



B<XPACleanup: release reserved XPA memory>



=head1 SYNOPSIS





  #include <xpa.h>

  void XPACleanup(void);





=head1 DESCRIPTION




When XPA is initialized, it allocates a small amount of memory for the
access control list, temp directory path, and reserved commands. This
memory is found by valgrind to be "still reachable", meaning that "your
program didn't free some memory it could have". Calling the
XPACleanup() routine before exiting the program will free this memory
and make valgrind happy.




=head1 SEE ALSO



See xpa(n) for a list of XPA help pages


=cut