diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2008-04-15 02:21:04 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2008-04-15 02:21:04 +0000 |
commit | 7a8c589d32d0043a3da3a54647afb5065392d16b (patch) | |
tree | 29f51945cffa5d6ea3994de0a76704c99036fd14 /epan/dissectors/packet-tacacs.c | |
parent | 08db55300cccfaad16eb922c666b4ad29fb399a8 (diff) | |
download | wireshark-7a8c589d32d0043a3da3a54647afb5065392d16b.tar.gz wireshark-7a8c589d32d0043a3da3a54647afb5065392d16b.tar.bz2 wireshark-7a8c589d32d0043a3da3a54647afb5065392d16b.zip |
don't use strdup() if you want to free the memory later with g_free(), this doesn't work (at least) on MSVC2005 builds!
svn path=/trunk/; revision=25037
Diffstat (limited to 'epan/dissectors/packet-tacacs.c')
-rw-r--r-- | epan/dissectors/packet-tacacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tacacs.c b/epan/dissectors/packet-tacacs.c index 4ed132c7a2..8fbab3a2a5 100644 --- a/epan/dissectors/packet-tacacs.c +++ b/epan/dissectors/packet-tacacs.c @@ -899,7 +899,7 @@ parse_tacplus_keys( const char *keys_from_option ) /* option not in client/server=key format */ return ; } - key_copy=strdup(keys_from_option); + key_copy=g_strdup(keys_from_option); s=key_copy; while(s){ if( (s1=strchr( s, ' ' )) != NULL ) |