diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:40:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-08-02 13:50:00 -0400 |
commit | 46ef4487d3914cac1aba148ec58ff271bda3c636 (patch) | |
tree | 300a4fdfb5f8714ae970fe78c9bd9beeda6c378b /src/or/connection.c | |
parent | cd9d39d54bbc9998938e9acddb1ec34507fc9108 (diff) | |
download | tor-46ef4487d3914cac1aba148ec58ff271bda3c636.tar.gz tor-46ef4487d3914cac1aba148ec58ff271bda3c636.zip |
Remove generic_buffer_*() functions as needless.
These functions were there so that we could abstract the differences
between evbuffer and buf_t. But with the bufferevent removal, this
no longer serves a purpose.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index ac00a1b786..40fc2bc662 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -549,10 +549,10 @@ connection_free_(connection_t *conn) if (entry_conn->socks_request) socks_request_free(entry_conn->socks_request); if (entry_conn->pending_optimistic_data) { - generic_buffer_free(entry_conn->pending_optimistic_data); + buf_free(entry_conn->pending_optimistic_data); } if (entry_conn->sending_optimistic_data) { - generic_buffer_free(entry_conn->sending_optimistic_data); + buf_free(entry_conn->sending_optimistic_data); } } if (CONN_IS_EDGE(conn)) { |