Fixed a couple of file descriptor leaks.
[wine/multimedia.git] / include / xmalloc.h
blobcc44c33974af8e1f44b17e7d20f21ed4923a4985
1 #ifndef __WINE_XMALLOC_H
2 #define __WINE_XMALLOC_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <sys/types.h>
10 void *xmalloc( size_t size );
11 void *xcalloc( size_t size );
12 void *xrealloc( void *ptr, size_t size );
13 char *xstrdup( const char *str );
15 #ifdef __cplusplus
17 #endif
19 #endif /* __WINE_XMALLOC_H */