projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Consistently allocate device and iface variables on the heap.
[tinc]
/
src
/
uml_socket
/
device.c
diff --git
a/src/uml_socket/device.c
b/src/uml_socket/device.c
index
a7a70fb
..
f81c88f
100644
(file)
--- a/
src/uml_socket/device.c
+++ b/
src/uml_socket/device.c
@@
-36,9
+36,9
@@
static int request_fd = -1;
static int data_fd = -1;
static int write_fd = -1;
static int state = 0;
-char *device;
+char *device
= NULL
;
char *iface = NULL;
-char *device_info;
+
static
char *device_info;
extern char *identname;
extern bool running;