diff options
author | John Langford <jl@hunch.net> | 2012-12-15 20:52:12 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2012-12-15 20:52:12 +0400 |
commit | 2c6b636fb1204c503cb36bc311957cf191916d52 (patch) | |
tree | 53da43c702a13a7613bf29c1c315a32918d63079 /vowpalwabbit/sender.cc | |
parent | 0b637b266061780d81b5e61fa46f5751398ad482 (diff) |
abstract free for v_array
Diffstat (limited to 'vowpalwabbit/sender.cc')
-rw-r--r-- | vowpalwabbit/sender.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vowpalwabbit/sender.cc b/vowpalwabbit/sender.cc index 3e540165..618d2dbc 100644 --- a/vowpalwabbit/sender.cc +++ b/vowpalwabbit/sender.cc @@ -100,8 +100,8 @@ void drive_send(void* in) if (received_index == sent_index) { shutdown(buf->files[0],SHUT_WR); - free(buf->files.begin); - free(buf->space.begin); + buf->files.delete_v(); + buf->space.delete_v(); free(delay_ring); return; } |