Free the open callback after stream is received.
authorMikael Hallendal <micke@imendio.com>
Sun, 29 Apr 2007 11:24:47 +0200
changeset 260 bdf166b3fa9c
parent 259 17c0fe07536c
child 261 703c5734ec61
Free the open callback after stream is received. Patch from Dimitur Kirov.
loudmouth/lm-connection.c
--- a/loudmouth/lm-connection.c	Sat Apr 28 12:55:40 2007 +0200
+++ b/loudmouth/lm-connection.c	Sun Apr 29 11:24:47 2007 +0200
@@ -1465,7 +1465,7 @@
 			        			   cb->user_data);
 
 		}
-		_lm_utils_free_callback (connection->open_cb);
+		_lm_utils_free_callback (cb);
 	}
 }