projects
/
platform
/
upstream
/
rpm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix rpm.unregister() Lua extension
[platform/upstream/rpm.git]
/
misc
/
myrealloc.c
1
#include "system.h"
2
3
void *myrealloc(void *ptr, size_t size) {
4
if (ptr == NULL)
5
return malloc(size);
6
else
7
return realloc(ptr, size);
8
}