Revision 7f303adc
b/util/uri.c | ||
---|---|---|
2162 | 2162 |
} |
2163 | 2163 |
|
2164 | 2164 |
ps->p[ps->n].name = g_strdup(name); |
2165 |
ps->p[ps->n].value = value ? g_strdup(value) : NULL;
|
|
2165 |
ps->p[ps->n].value = g_strdup(value);
|
|
2166 | 2166 |
ps->p[ps->n].ignore = 0; |
2167 | 2167 |
ps->n++; |
2168 | 2168 |
|
b/vl.c | ||
---|---|---|
1215 | 1215 |
|
1216 | 1216 |
node = g_malloc0(sizeof(FWBootEntry)); |
1217 | 1217 |
node->bootindex = bootindex; |
1218 |
node->suffix = suffix ? g_strdup(suffix) : NULL;
|
|
1218 |
node->suffix = g_strdup(suffix);
|
|
1219 | 1219 |
node->dev = dev; |
1220 | 1220 |
|
1221 | 1221 |
QTAILQ_FOREACH(i, &fw_boot_order, link) { |
Also available in: Unified diff