comparison libaudacious/beepctrl.c @ 1500:188437eb996b trunk

[svn] - leak fix
author nenolod
date Fri, 04 Aug 2006 11:38:37 -0700
parents 705d4c089fce
children 8f3c0c773c92
comparison
equal deleted inserted replaced
1499:959ebef04f70 1500:188437eb996b
357 audacious_session_type = (gint *) AUDACIOUS_TYPE_UNIX; 357 audacious_session_type = (gint *) AUDACIOUS_TYPE_UNIX;
358 358
359 if (audacious_session_type == NULL) 359 if (audacious_session_type == NULL)
360 audacious_session_type = (gint *) AUDACIOUS_TYPE_UNIX; 360 audacious_session_type = (gint *) AUDACIOUS_TYPE_UNIX;
361 361
362 /* memory leak! */
363 g_free(uri);
364
362 return audacious_session_type; 365 return audacious_session_type;
363 } 366 }
364 367
365 /* tcp://192.168.100.1:5900/zyzychynxi389xvmfewqaxznvnw */ 368 /* tcp://192.168.100.1:5900/zyzychynxi389xvmfewqaxznvnw */
366 void 369 void