/soc/2013/ankitkv/gobjectification: 8fb558514134: Destroy the Ca...

Ankit Vani a at nevitus.org
Sat Sep 21 07:31:49 EDT 2013


Changeset: 8fb55851413424dfff732265a2d9ca2f3a3f36de
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-21 01:33 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/8fb558514134

Description:

Destroy the CaesarCipher object in caesarcipher_consumer

diffstat:

 libpurple/plugins/caesarcipher_consumer.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff --git a/libpurple/plugins/caesarcipher_consumer.c b/libpurple/plugins/caesarcipher_consumer.c
--- a/libpurple/plugins/caesarcipher_consumer.c
+++ b/libpurple/plugins/caesarcipher_consumer.c
@@ -94,6 +94,10 @@ plugin_load(PurplePlugin *plugin, GError
 
 	debug_cipher(cipher, "An0ther input 4 cipher..");
 
+	g_object_unref(cipher);
+	purple_debug_info("caesarcipher_consumer", "Destroyed caesar cipher "
+	                                           "object.\n");
+
 	return TRUE;
 }
 



More information about the Commits mailing list