#! /bin/sh /usr/share/dpatch/dpatch-run ## 02_asprintf.dpatch by Tobias Grimm ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes wrong usage of asprintf and correctly free's memory allocated by it. This patch was extracted from http://e-tobi.net/vdr-experimental/pool/source/vdr/vdr-plugin-submenu_0.0.2-20.diff.gz @DPATCH@ diff -urNad --exclude=CVS --exclude=.svn ./submenu-setup.c /tmp/dpep-work.ho7VxE/vdr-plugin-submenu-0.0.2/submenu-setup.c --- ./submenu-setup.c 2005-02-03 15:35:49.000000000 +0100 +++ /tmp/dpep-work.ho7VxE/vdr-plugin-submenu-0.0.2/submenu-setup.c 2005-08-24 00:37:43.000000000 +0200 @@ -245,19 +245,25 @@ void cSubMenuSetup::DrawSubMenu(int level) { curLevel++; - char *line; + char *line, *tmp; for(int i=0;i