diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-11-06 17:39:13 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-11-06 17:39:13 +0000 |
commit | 0352ac8e8fd18aae9e6d84a13af33a9500c5317c (patch) | |
tree | 75f22930a59de239e4078b66e0480c1f2f497471 /epan/wslua/init_wslua.c | |
parent | 54c1e0e2a6d962c56d167dab2e2be174dd84e50c (diff) |
From Robert G. Jakabosky via bug 5575:
Fix memory errors in Lua dissectors.
- Free Tvb when created from ByteArray.
- Free TvbRange correctly.
- Free string from get_persconffile_path and get_datafile_path.
- Some code cleanup.
svn path=/trunk/; revision=39744
Diffstat (limited to 'epan/wslua/init_wslua.c')
-rw-r--r-- | epan/wslua/init_wslua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/wslua/init_wslua.c b/epan/wslua/init_wslua.c index a49204f7e0..d7f2e3a0a3 100644 --- a/epan/wslua/init_wslua.c +++ b/epan/wslua/init_wslua.c @@ -53,6 +53,7 @@ dissector_handle_t lua_data_handle; static void lua_frame_end(void) { clear_outstanding_Tvb(); + clear_outstanding_TvbRange(); clear_outstanding_Pinfo(); clear_outstanding_Column(); clear_outstanding_Columns(); |