]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7515: reset img on reset
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 17 Apr 2015 22:30:16 +0000 (17:30 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:22 +0000 (12:47 -0500)
src/mod/applications/mod_cv/mod_cv.cpp

index d9e46ff6ca90f26282ec7711b9e3d4f1bf69dea4..ab9457659463efe5856e9fa1bbbd6abbf3bc41f2 100644 (file)
@@ -319,6 +319,7 @@ static void set_ticker(cv_context_t *context, const char *fg, const char *bg, co
     context->ticker->tpos = NULL;
     context_render_text(context, context->ticker, context->ticker->text);
     context->tick_x = context->w;
+    switch_img_free(&context->ticker_img);
     context->ticker_ready = 1;
 }