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/chansrv/smartcard_pcsc.c | |
parent | c64b1544752547cede30647bb03ab1bbbc06d079 (diff) | |
download | xrdp-proprietary-3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3.tar.gz xrdp-proprietary-3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3.zip |
coverity: fixed resolution leak issues
Diffstat (limited to 'sesman/chansrv/smartcard_pcsc.c')
-rw-r--r-- | sesman/chansrv/smartcard_pcsc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sesman/chansrv/smartcard_pcsc.c b/sesman/chansrv/smartcard_pcsc.c index 1d1618dc..9824432e 100644 --- a/sesman/chansrv/smartcard_pcsc.c +++ b/sesman/chansrv/smartcard_pcsc.c @@ -603,6 +603,7 @@ scard_process_list_readers(struct trans *con, struct stream *in_s) { LLOGLN(0, ("scard_process_list_readers: " "get_pcsc_context_by_app_context failed")); + g_free(groups); return 1; } pcscListReaders = g_malloc(sizeof(struct pcsc_list_readers), 1); @@ -1489,6 +1490,7 @@ scard_process_get_status_change(struct trans *con, struct stream *in_s) { LLOGLN(0, ("scard_process_get_status_change: " "get_pcsc_context_by_app_context failed")); + g_free(rsa); return 1; } scard_send_get_status_change(user_data, |