On 05/18/2013 02:22 AM, Sergey Fionov wrote:
> Hello,
>
> There is double unref virChrdevOpen() (src/conf/virchrdev.c) when error
> occured.
>
> if (virStreamRef(st) < 0) {
> virMutexUnlock(&devs->lock);
> return -1;
> }
Thanks again for the report. I didn't see a reply
Hello,
There is double unref virChrdevOpen() (src/conf/virchrdev.c) when error occured.
if (virStreamRef(st) < 0) {
virMutexUnlock(&devs->lock);
return -1;
}
...
if (virHashAddEntry(devs->hash, path, st) < 0)
goto error;
...
if (virFDStreamOpenFile(st,