pidgin.vv: b7579b4b: Zero out the proper size for the PurpleM...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Tue Mar 17 06:21:01 EDT 2009


-----------------------------------------------------------------
Revision: b7579b4bc8103a92e947c945e22390d9e547cc65
Ancestor: e8e5a8ac092e6f2aaf811669c16114a9e7cb69a1
Author: maiku at soc.pidgin.im
Date: 2009-03-17T10:13:10
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/b7579b4bc8103a92e947c945e22390d9e547cc65

Modified files:
        libpurple/media.c

ChangeLog: 

Zero out the proper size for the PurpleMediaPrivate structure.

-------------- next part --------------
============================================================
--- libpurple/media.c	7396aafdc24a0a8a59f16c10a4002c46bd0d5075
+++ libpurple/media.c	bfb5aa3934b07858aecc5ea587654b0846fbe4ea
@@ -260,7 +260,7 @@ purple_media_init (PurpleMedia *media)
 purple_media_init (PurpleMedia *media)
 {
 	media->priv = PURPLE_MEDIA_GET_PRIVATE(media);
-	memset(media->priv, 0, sizeof(media->priv));
+	memset(media->priv, 0, sizeof(*media->priv));
 }
 
 static void


More information about the Commits mailing list