mirror of
https://github.com/0intro/wmii
synced 2024-11-25 15:20:15 +03:00
12 lines
217 B
C
12 lines
217 B
C
/* Written by Kris Maglione <maglione.k at Gmail> */
|
|
/* Public domain */
|
|
#include "util.h"
|
|
|
|
void *
|
|
erealloc(void *ptr, uint size) {
|
|
void *ret = realloc(ptr, size);
|
|
if(!ret)
|
|
mfatal("realloc", size);
|
|
return ret;
|
|
}
|