Revision a5cf8262 hw/qdev.c
b/hw/qdev.c | ||
---|---|---|
520 | 520 |
|
521 | 521 |
path[l-1] = '\0'; |
522 | 522 |
|
523 |
return strdup(path); |
|
523 |
return g_strdup(path);
|
|
524 | 524 |
} |
525 | 525 |
|
526 | 526 |
char *qdev_get_dev_path(DeviceState *dev) |
Also available in: Unified diff