pidgin: 1863750d: We set every field of this struct explic...

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Feb 2 18:01:08 EST 2010


-----------------------------------------------------------------
Revision: 1863750dfdcf225f01e5ff4ec9e225aa5797269d
Ancestor: 5159e1686c22cb2ffbbc4bc4abe577e93c9f4678
Author: markdoliner at pidgin.im
Date: 2010-02-02T22:56:17
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1863750dfdcf225f01e5ff4ec9e225aa5797269d

Modified files:
        libpurple/protocols/oscar/family_oservice.c

ChangeLog: 

We set every field of this struct explicitly when we create it, so don't
bother to zero it out

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_oservice.c	52ed87049d764f56537bb0c4a7f69cb360c8cc8f
+++ libpurple/protocols/oscar/family_oservice.c	ff14e58c65ffd5c8273a553a015d2ae605fc1715
@@ -323,7 +323,7 @@ rateresp(OscarData *od, FlapConnection *
 		struct timeval now;
 
 		gettimeofday(&now, NULL);
-		rateclass = g_new0(struct rateclass, 1);
+		rateclass = g_new(struct rateclass, 1);
 
 		rateclass->classid = byte_stream_get16(bs);
 		rateclass->windowsize = byte_stream_get32(bs);


More information about the Commits mailing list