Imported Upstream version 1.0.1
[platform/upstream/libzip.git] / man / zip_source_free.man
1 .TH "ZIP_SOURCE_FREE" "3" "November 18, 2014" "NiH" "Library Functions Manual"
2 .SH "NAME"
3 \fBzip_source_free\fP
4 \- free zip data source
5 .SH "LIBRARY"
6 libzip (-lzip)
7 .SH "SYNOPSIS"
8 zip.h
9 void
10 zip_source_free zip_source_t *source
11 .SH "DESCRIPTION"
12 The function
13 zip_source_free
14 decrements the reference count of
15 \fIsource\fP
16 and frees it if the reference count drops to 0.
17 If
18 \fIsource\fP
19 is
20 \fRNULL\fP,
21 it does nothing.
22 .PP
23 \fINOTE\fP:
24 This function should not be called on a
25 \fIsource\fP
26 after it was used successfully in a
27 zip_open_from_source(3),
28 zip_add(3),
29 or
30 zip_replace(3)
31 call.
32 .SH "SEE ALSO"
33 libzip(3),
34 zip_source(3),
35 zip_source_keep(3)
36 .SH "AUTHORS"
37 Dieter Baron <dillo@nih.at>
38 and
39 Thomas Klausner <tk@giga.or.at>