]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/liborte/ORTEPublication.c
Add missing FREE()
[orte.git] / orte / liborte / ORTEPublication.c
index 42b92b5605c5058d90e8c4439b06f66b7e04d2ed..de0887e58b34f56f5bd927efb982de0f2475c287 100644 (file)
@@ -62,6 +62,7 @@ ORTEPublicationCreate(ORTEDomain *d,const char *topic,const char *typeName,
     pthread_rwlock_unlock(&d->objectEntry.htimRootLock);
     printf("before call ORTEPublicationCreate is necessary to register \n\
             ser./deser. function for a given typeName!!!\n");
+    FREE(cstWriter);
     return NULL;
   }  
   pthread_rwlock_wrlock(&d->publications.lock);