mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
socket-service test: Don't leak writev vectors
Detected by AddressSanitizer. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
3970ddec06
commit
5b476d0d9c
@ -342,6 +342,7 @@ writtenv_read_write_async_cb (GOutputStream *ostream,
|
||||
|
||||
conn = data->conn;
|
||||
g_free (data->data);
|
||||
g_free (data->vectors);
|
||||
g_free (data);
|
||||
|
||||
res = g_output_stream_writev_all_finish (ostream, result, &bytes_written, &error);
|
||||
|
Loading…
Reference in New Issue
Block a user