diff options
Diffstat (limited to 'utils/out_of_memory.c')
-rw-r--r-- | utils/out_of_memory.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/out_of_memory.c b/utils/out_of_memory.c new file mode 100644 index 00000000..1c9cb259 --- /dev/null +++ b/utils/out_of_memory.c @@ -0,0 +1,11 @@ +/* + * Standard implementation of the out_of_memory function called by our + * malloc wrappers. + */ + +#include "putty.h" + +void out_of_memory(void) +{ + modalfatalbox("Out of memory"); +} |