diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-21 19:33:11 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-21 19:33:11 -0800 |
commit | 5fe7c065dc6cd7c3e9afd9ce5fade31ff7d7b198 (patch) | |
tree | 5e761ee733f99449ba1d0a069d08751babc2544c /io.cpp | |
parent | e074ad48076f252764c4d17e21a1b17bc86a6dec (diff) |
Squash a bunch of leaks
Diffstat (limited to 'io.cpp')
-rw-r--r-- | io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ void io_buffer_read( io_data_t *d ) io_data_t *io_buffer_create( int is_input ) { - io_data_t *buffer_redirect = (io_data_t *)malloc( sizeof( io_data_t )); + io_data_t *buffer_redirect = new io_data_t(); buffer_redirect->io_mode=IO_BUFFER; buffer_redirect->next=0; |