Index: src/OFObject.h ================================================================== --- src/OFObject.h +++ src/OFObject.h @@ -59,10 +59,11 @@ /** * \brief The root class for all other classes inside ObjFW. */ @interface OFObject { +@public /// The class of the object Class isa; } /** Index: src/OFStream.m ================================================================== --- src/OFStream.m +++ src/OFStream.m @@ -489,11 +489,11 @@ memcpy(ret_c, cache, cacheLen); else if (cache != NULL) memcpy(ret_c, cache, ret_len); if (i >= delim_len) memcpy(ret_c + cacheLen, tmp, - i + 1 - delim_len); + i + 1 - delim_len); @try { ret = [OFString stringWithCString: ret_c encoding: encoding Index: src/OFURL.m ================================================================== --- src/OFURL.m +++ src/OFURL.m @@ -203,12 +203,11 @@ } } @catch (id e) { [self release]; @throw e; } @finally { - if (str_c2 != NULL) - free(str_c2); + free(str_c2); } return self; } @@ -277,12 +276,11 @@ } } @catch (id e) { [self release]; @throw e; } @finally { - if (str_c2 != NULL) - free(str_c2); + free(str_c2); } return self; }