summaryrefslogtreecommitdiff
path: root/editcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editcap.c b/editcap.c
index 2c7ca66128..199fac3a59 100644
--- a/editcap.c
+++ b/editcap.c
@@ -1308,7 +1308,7 @@ main(int argc, char *argv[])
/* If we don't have an application name add Editcap */
if (shb_hdr->shb_user_appl == NULL) {
- shb_hdr->shb_user_appl = "Editcap " VERSION;
+ shb_hdr->shb_user_appl = g_strdup("Editcap " VERSION);
}
pdh = wtap_dump_open_ng(filename, out_file_type_subtype, out_frame_type,