shmpipe: Don't dec old shm area when new one is added

Its ref will be dropped when the "close" message arrives
This commit is contained in:
Olivier Crête 2010-01-28 11:30:11 +02:00
parent 4f4ba5981b
commit 68c9ed6e5c

View file

@ -577,8 +577,10 @@ sp_client_recv (ShmPipe * self, char **buf)
oldarea = self->shm_area;
newarea->next = self->shm_area;
self->shm_area = newarea;
/*
if (oldarea)
sp_shm_area_dec (self, oldarea);
*/
break;
case COMMAND_CLOSE_SHM_AREA: