git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
softnic
/
conn.c
diff --git
a/drivers/net/softnic/conn.c
b/drivers/net/softnic/conn.c
index
990cf40
..
5b03135
100644
(file)
--- a/
drivers/net/softnic/conn.c
+++ b/
drivers/net/softnic/conn.c
@@
-8,7
+8,6
@@
#include <unistd.h>
#include <sys/types.h>
-#define __USE_GNU
#include <sys/socket.h>
#include <sys/epoll.h>
@@
-145,6
+144,7
@@
softnic_conn_free(struct softnic_conn *conn)
free(conn->msg_out);
free(conn->msg_in);
+ free(conn->buf);
free(conn->prompt);
free(conn->welcome);
free(conn);