Fixed a coverity issue.

This commit is contained in:
Ward Fisher 2012-11-15 17:56:19 +00:00
parent cf4a829d94
commit 8bee884064

View File

@ -348,6 +348,9 @@ ocuriparse(const char* uri0, OCURI** durip)
}
#endif
if(durip != NULL) *durip = duri;
else {
free(duri);
}
return 1;
fail: