hantek-dso: fix memory leak

This fixes bug #632.
This commit is contained in:
Daniel Glöckner 2015-08-22 18:00:30 +02:00 committed by Uwe Hermann
parent 96127d0fea
commit 1e6b5b9303
1 changed files with 1 additions and 0 deletions

View File

@ -758,6 +758,7 @@ static void send_chunk(struct sr_dev_inst *sdi, unsigned char *buf,
} }
} }
sr_session_send(devc->cb_data, &packet); sr_session_send(devc->cb_data, &packet);
g_free(analog.data);
} }
/* /*