Commit e5acab3
smb: client: get rid of kstrdup() when parsing user mount option
Steal string reference from @param->string rather than duplicating it.
Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]>
Reviewed-by: David Howells <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent 309c2b7 commit e5acab3
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
1478 | | - | |
1479 | | - | |
1480 | | - | |
1481 | | - | |
1482 | | - | |
| 1478 | + | |
1483 | 1479 | | |
1484 | 1480 | | |
1485 | 1481 | | |
| |||
0 commit comments