libcdio  2.1.0
About: GNU libcdio is a library for CD-ROM and CD image access.
  Fossies Dox: libcdio-2.1.0.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

memory.c
Go to the documentation of this file.
1 /*
2  Copyright (C) 2014-2015 Robert Kausch <robert.kausch@freac.org>
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
18 
19 #ifdef HAVE_CONFIG_H
20 # include "config.h"
21 # define __CDIO_CONFIG_H__ 1
22 #endif
23 
24 #ifdef HAVE_STDLIB_H
25 #include <stdlib.h>
26 #endif
27 
28 #include <cdio/memory.h>
29 #include <cdio/types.h>
30 
36 void
37 cdio_free (void *p_memory)
38 {
39  if (p_memory != NULL)
40  free(p_memory);
41 }
cdio_free
void cdio_free(void *p_memory)
Definition: memory.c:37
types.h
Common type definitions used pervasively in libcdio.
NULL
#define NULL
Definition: types.h:184
config.h
memory.h
memory management utility functions.