diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-01-24 19:09:30 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-01-24 19:09:30 +0000 |
commit | a9c6d37d728f408f56d6ce816545561a42098e1b (patch) | |
tree | 68be99065f8dbc6765c69edb1379cebadcada67d /editcap.c | |
parent | fa49cc0d673b6d6d2bca0286c54b2798863c6b91 (diff) |
Fixed some malloc -> g_malloc, free -> g_free, strdup -> g_strdup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24179 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -618,7 +618,7 @@ int main(int argc, char *argv[]) out_frame_type = wtap_file_encap(wth); if (split_packet_count > 0) { - filename = (char *) malloc(strlen(argv[optind+1]) + 20); + filename = (char *) g_malloc(strlen(argv[optind+1]) + 20); if (!filename) { exit(5); } |