diff options
author | marha <marha@users.sourceforge.net> | 2010-06-14 12:29:39 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-06-14 12:29:39 +0000 |
commit | 0cf9b03f4990f61640dc35dfac250f929b57b4ed (patch) | |
tree | f4a96a254237696f58d46c150c12f289e5a15701 /xorg-server/config/dbus.c | |
parent | ea5824c767121c3c97f587a9dfb63a87b442032b (diff) | |
download | vcxsrv-0cf9b03f4990f61640dc35dfac250f929b57b4ed.tar.gz vcxsrv-0cf9b03f4990f61640dc35dfac250f929b57b4ed.tar.bz2 vcxsrv-0cf9b03f4990f61640dc35dfac250f929b57b4ed.zip |
xserver git update 14/6/2010
Diffstat (limited to 'xorg-server/config/dbus.c')
-rw-r--r-- | xorg-server/config/dbus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xorg-server/config/dbus.c b/xorg-server/config/dbus.c index 5d11feaa1..ec1008a4d 100644 --- a/xorg-server/config/dbus.c +++ b/xorg-server/config/dbus.c @@ -86,8 +86,8 @@ add_device(DBusMessage *message, DBusMessage *reply, DBusError *error) return BadAlloc;
}
- options->key = xstrdup("_source");
- options->value = xstrdup("client/dbus");
+ options->key = strdup("_source");
+ options->value = strdup("client/dbus");
if (!options->key || !options->value) {
ErrorF("[config/dbus] couldn't allocate first key/value pair\n");
ret = BadAlloc;
@@ -120,7 +120,7 @@ add_device(DBusMessage *message, DBusMessage *reply, DBusError *error) tmp);
MALFORMED_MESSAGE();
}
- options->key = xstrdup(tmp);
+ options->key = strdup(tmp);
if (!options->key) {
ErrorF("[config/dbus] couldn't duplicate key!\n");
ret = BadAlloc;
@@ -136,7 +136,7 @@ add_device(DBusMessage *message, DBusMessage *reply, DBusError *error) dbus_message_iter_get_basic(&subiter, &tmp);
if (!tmp)
MALFORMED_MESSAGE();
- options->value = xstrdup(tmp);
+ options->value = strdup(tmp);
if (!options->value) {
ErrorF("[config/dbus] couldn't duplicate option!\n");
ret = BadAlloc;
|