Revision: 6352 Author: ek.kato Date: Fri Apr 30 00:58:00 2010 Log: * notify/uim-growl.m (uim_growl_notify) : Fix warning for non-MacUIM environment.
http://code.google.com/p/uim/source/detail?r=6352 Modified: /trunk/notify/uim-growl.m ======================================= --- /trunk/notify/uim-growl.m Sun Apr 4 20:35:54 2010 +++ /trunk/notify/uim-growl.m Fri Apr 30 00:58:00 2010 @@ -60,6 +60,7 @@ fprintf(stderr, "libuim: %s\n", UGETTEXT(body)); + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; [GrowlApplicationBridge notifyWithTitle:[NSString stringWithCString:title[prio]] description:[NSString stringWithUTF8String:body_short] @@ -68,6 +69,7 @@ priority:prio isSticky:is_sticky clickContext:nil]; + [pool release]; return UIM_TRUE; }
