diff options
| author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2008-08-28 16:22:28 -0300 | 
|---|---|---|
| committer | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2008-08-28 16:22:28 -0300 | 
| commit | d4536bb1c8decaff4950d229191ec23f359f8ee0 (patch) | |
| tree | f12e398c049ae16a376ea67b3fc8c00fe213cc7d /network/server.c | |
| parent | 9ce93182d3d2e9ed90ef46c102cac27fd2d278d8 (diff) | |
Fixes a free on the wrong structure.
Diffstat (limited to 'network/server.c')
| -rw-r--r-- | network/server.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/network/server.c b/network/server.c index 18ee24f6..3fa99d25 100644 --- a/network/server.c +++ b/network/server.c @@ -531,7 +531,8 @@ reply:  static void setup_destroy(void *user_data)  { -	struct timeout *to = user_data; +	struct network_adapter *na = user_data; +	struct timeout *to = na->to;  	if (to->id)  		g_source_remove(to->id);  | 
