mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +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