diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-02-21 17:41:55 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-02-22 01:42:35 +0000 |
commit | 0327078837bb5189c53080ef259d99e6c7075e6b (patch) | |
tree | 90071defac87640cc960245c5b0c02e1dc086231 /wsutil/win32-utils.c | |
parent | 50dff6eac41bbe22e1436af1301628eb3462bf8a (diff) | |
download | wireshark-0327078837bb5189c53080ef259d99e6c7075e6b.tar.gz |
Only do save_errno = errno and errno = save_errno around g_free();
There is *no* need to do it around an assignment statement. (We
*probably* don't need to do it around g_free(), but better safe than
sorry - maybe some memory allocator makes system calls to hand regions
of the address space back.)
Change-Id: Ib57540cc36b505aadf4a5e8885b9a744a35b1f75
Reviewed-on: https://code.wireshark.org/review/20236
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/win32-utils.c')
0 files changed, 0 insertions, 0 deletions