CID: 1215198 Fix an assignment so that the variable only handles malloc'd data.

This commit is contained in:
William King 2014-05-21 16:28:03 -07:00
parent d0ce18885c
commit 11f373d4f2
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ SWITCH_STANDARD_API(hash_dump_function)
argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
cmd = argv[0];
} else {
realmvalue = "test";
realmvalue = switch_mprintf("test");
realm = 0;
stream->write_function(stream, "Usage: "HASH_DUMP_SYNTAX"\n");
goto done;