diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-17 22:40:01 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-17 22:40:01 +0000 |
commit | 9ee92c975ddef88214ce317d9a25ff37d080aeed (patch) | |
tree | d952463443e8b96f68dcda9aae8bfede394fdb32 /src/xine-utils/xineutils.h | |
parent | 81b2f95cbb603795f41636ed3b089bfd712d1a79 (diff) | |
download | xine-lib-9ee92c975ddef88214ce317d9a25ff37d080aeed.tar.gz xine-lib-9ee92c975ddef88214ce317d9a25ff37d080aeed.tar.bz2 |
fixing memory leaks
CVS patchset: 1061
CVS date: 2001/11/17 22:40:01
Diffstat (limited to 'src/xine-utils/xineutils.h')
-rw-r--r-- | src/xine-utils/xineutils.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index eadd17f34..e181ea1aa 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.1 2001/11/17 14:26:39 f1rmb Exp $ + * $Id: xineutils.h,v 1.2 2001/11/17 22:40:01 miguelfreitas Exp $ * */ #ifndef XINEUTILS_H @@ -616,6 +616,16 @@ void *xine_xmalloc(size_t size); */ void *xine_xmalloc_aligned(size_t alignment, size_t size); +/* + * Free memory allocated with the above function + */ +void *xine_free_aligned(void *p); + +/* + * Initialize aligned memory allocator + */ +void xine_init_mem_aligned(void); + /* * Get user home directory. */ |