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