diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-04-15 02:21:04 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-04-15 02:21:04 +0000 |
commit | 82566cb9d05333f0d9ad8994df43d36322a07dbd (patch) | |
tree | 29f51945cffa5d6ea3994de0a76704c99036fd14 /epan/dissectors/packet-tacacs.c | |
parent | af0fd072243445e49653f077fc41fa4f897041e3 (diff) |
don't use strdup() if you want to free the memory later with g_free(), this doesn't work (at least) on MSVC2005 builds!
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25037 f5534014-38df-0310-8fa8-9805f1628bb7
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 ) |