[PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links