diff options
| author | jsorg71 <jsorg71> | 2005-02-17 01:38:32 +0000 |
|---|---|---|
| committer | jsorg71 <jsorg71> | 2005-02-17 01:38:32 +0000 |
| commit | 97b2519fd4b2445f0108f6458154d736a0a1191a (patch) | |
| tree | ad8acbfcc90d26f67377aa7857d2246eda0305f9 /xrdp/xrdp_orders.c | |
| parent | aafcaa6a561d15eea6b6d323366919fc71c7218a (diff) | |
| download | xrdp-proprietary-97b2519fd4b2445f0108f6458154d736a0a1191a.tar.gz xrdp-proprietary-97b2519fd4b2445f0108f6458154d736a0a1191a.zip | |
fix thread leak, gota detach
Diffstat (limited to 'xrdp/xrdp_orders.c')
| -rw-r--r-- | xrdp/xrdp_orders.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xrdp/xrdp_orders.c b/xrdp/xrdp_orders.c index 688c211f..7b5e1273 100644 --- a/xrdp/xrdp_orders.c +++ b/xrdp/xrdp_orders.c @@ -39,6 +39,10 @@ struct xrdp_orders* xrdp_orders_create(struct xrdp_process* owner, /*****************************************************************************/ void xrdp_orders_delete(struct xrdp_orders* self) { + if (self == 0) + { + return; + } free_stream(self->out_s); g_free(self); } |
