Commit 3d67b098 authored by Manolis Surligas's avatar Manolis Surligas

Merge branch 'next' of https://github.com/satnogs/gr-satnogs into next

parents 76c28b0b 6b98025c
......@@ -134,7 +134,7 @@ namespace gr
}
/* All good until now. Allocate buffer memory and proceed */
buf = new uint8_t (d_mtu);
buf = new uint8_t[d_mtu];
while (d_running) {
sock = accept (listen_sock, &client_addr, &client_addr_len);
......@@ -191,7 +191,7 @@ namespace gr
close (sock);
}
close (listen_sock);
delete buf;
delete [] buf;
exit (EXIT_SUCCESS);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment