OSDN Git Service

core: Fix ref count for device_create
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 17 Dec 2012 12:01:06 +0000 (14:01 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 17 Dec 2012 12:01:06 +0000 (14:01 +0200)
commita421d43fc7a45d52841493a850af98d8becd9891
tree2fcbf950b444d08d7b5ebcbbeec8ad1b5f69d01b
parentd1711f900009e45c6a5de20d31cb9b72a742b3c4
core: Fix ref count for device_create

The device_new function already returns a new ref count so there's no
need to increment it.
src/device.c