aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tacacs.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2008-04-15 02:21:04 +0000
committerUlf Lamping <ulf.lamping@web.de>2008-04-15 02:21:04 +0000
commit7a8c589d32d0043a3da3a54647afb5065392d16b (patch)
tree29f51945cffa5d6ea3994de0a76704c99036fd14 /epan/dissectors/packet-tacacs.c
parent08db55300cccfaad16eb922c666b4ad29fb399a8 (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!
svn path=/trunk/; revision=25037
Diffstat (limited to 'epan/dissectors/packet-tacacs.c')
-rw-r--r--epan/dissectors/packet-tacacs.c2
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 )