diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-19 11:56:00 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-19 11:56:00 -0700 |
commit | 3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3 (patch) | |
tree | 8888abf5bfb3b666027746c78a7466e09fa3a557 /sesman/session.c | |
parent | c64b1544752547cede30647bb03ab1bbbc06d079 (diff) | |
download | xrdp-proprietary-3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3.tar.gz xrdp-proprietary-3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3.zip |
coverity: fixed resolution leak issues
Diffstat (limited to 'sesman/session.c')
-rw-r--r-- | sesman/session.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sesman/session.c b/sesman/session.c index 091ce013..130ca26c 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -759,8 +759,12 @@ session_start_fork(int width, int height, int bpp, char *username, /*THREAD-FIX release chain lock */ lock_chain_release(); + + return display; } + g_free(temp->item); + g_free(temp); return display; } @@ -1003,6 +1007,7 @@ session_get_bypid(int pid) "pid %d is null!", pid); /*THREAD-FIX release chain lock */ lock_chain_release(); + g_free(dummy); return 0; } @@ -1021,6 +1026,7 @@ session_get_bypid(int pid) /*THREAD-FIX release chain lock */ lock_chain_release(); + g_free(dummy); return 0; } |