Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions open-vm-tools/lib/rpcChannel/glib_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#error "This file should be compiled for RPCI-only channel!"
#endif

#undef g_free

void *g_malloc0(size_t s) { return Util_SafeCalloc(1, s); }
void *g_malloc0_n(size_t n, size_t s) { return Util_SafeCalloc(n, s); }
void g_free(void *p) { free(p); }
Expand Down
Loading