git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b935d1
)
g_ascii_strdown Returns a newly-allocated string.
author
etxrab
<etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 7 Aug 2011 20:08:08 +0000
(20:08 +0000)
committer
etxrab
<etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 7 Aug 2011 20:08:08 +0000
(20:08 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38397
f5534014
-38df-0310-8fa8-
9805f1628bb7
epan/gcp.c
patch
|
blob
|
history
diff --git
a/epan/gcp.c
b/epan/gcp.c
index 3d7441867535c577dd1f8c772a9492d68ee11a3d..0ef0bd2908312d89eae30ac355d1e0b1b296416a 100644
(file)
--- a/
epan/gcp.c
+++ b/
epan/gcp.c
@@
-744,9
+744,10
@@
void gcp_analyze_msg(proto_tree* gcp_tree, tvbuff_t* gcp_tvb, gcp_msg_t* m, gcp_
}
if (ctx_term->term->bir && ctx_term->term->nsap) {
- gchar* key = ep_strdup_printf("%s:%s",ctx_term->term->nsap,ctx_term->term->bir);
-
g_ascii_strdown(
key, -1);
+ gchar*
tmp_
key = ep_strdup_printf("%s:%s",ctx_term->term->nsap,ctx_term->term->bir);
+
gchar* key = g_ascii_strdown(tmp_
key, -1);
alcap_tree_from_bearer_key(term_tree, gcp_tvb, key);
+ g_free(key);
}
}
}