Commit 83b9a59
authored
[Linux] remove duplicate clone_string() in favor of g_strdup() (flutter#34031)
GLib's g_strdup() offers the same behavior that it returns NULL if the
argument is NULL: https://docs.gtk.org/glib/func.strdup.html1 parent 1daf7ba commit 83b9a59
File tree
2 files changed
+3
-27
lines changed- shell/platform/linux
2 files changed
+3
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 32 | | |
47 | 33 | | |
48 | 34 | | |
| |||
69 | 55 | | |
70 | 56 | | |
71 | 57 | | |
72 | | - | |
| 58 | + | |
73 | 59 | | |
74 | 60 | | |
75 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 12 | | |
23 | 13 | | |
24 | 14 | | |
| |||
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
35 | | - | |
| 25 | + | |
36 | 26 | | |
37 | 27 | | |
38 | 28 | | |
| |||
53 | 43 | | |
54 | 44 | | |
55 | 45 | | |
56 | | - | |
| 46 | + | |
57 | 47 | | |
58 | 48 | | |
0 commit comments