mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
CID: 1215198 Fix an assignment so that the variable only handles malloc'd data.
This commit is contained in:
parent
d0ce18885c
commit
11f373d4f2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user