Search
j0ke.net Open Build Service
>
Projects
>
GFS
:
experimental
>
openais
> revision-1513.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File revision-1513.patch of Package openais (Revision 1)
Currently displaying revision
1
,
show latest
Index: lib/util.c =================================================================== --- lib/util.c (revision 1512) +++ lib/util.c (revision 1513) @@ -543,7 +543,7 @@ handleDatabase->handleCount += 1; newHandles = (struct saHandle *)realloc (handleDatabase->handles, sizeof (struct saHandle) * handleDatabase->handleCount); - if (newHandles == 0) { + if (newHandles == NULL) { pthread_mutex_unlock (&handleDatabase->mutex); return (SA_AIS_ERR_NO_MEMORY); }