mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
Assig dupped string
This commit is contained in:
parent
3f5270ee7a
commit
65a7a0aad1
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ int link_set_config_methods(struct link *l, char *config_methods)
|
||||||
return log_ENOMEM();
|
return log_ENOMEM();
|
||||||
|
|
||||||
free(l->config_methods);
|
free(l->config_methods);
|
||||||
l->config_methods = config_methods;
|
l->config_methods = cm;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue