From 67124b22f2ecdebf9e3e4712041d6ea1f968be29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 21 Dec 2015 23:10:12 +0200 Subject: [PATCH] dvb: use xrealloc() --- modules/access/dvb/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/dvb/scan.c b/modules/access/dvb/scan.c index f66b13319a..f12d015a54 100644 --- a/modules/access/dvb/scan.c +++ b/modules/access/dvb/scan.c @@ -328,7 +328,7 @@ static int ScanDvbSNextFast( scan_t *p_scan, scan_configuration_t *p_cfg, double (*pi_count)++; - p_transponders = realloc(p_transponders, ( *pi_count + 1 ) * sizeof( scan_dvbs_transponder_t ) ); + p_transponders = xrealloc(p_transponders, ( *pi_count + 1 ) * sizeof( scan_dvbs_transponder_t ) ); } while (res != EOF); msg_Dbg( p_scan->p_obj, "parsed %d transponders from config", *pi_count);