aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2019-06-13 12:34:00 +0200
committerGitHub <[email protected]>2019-06-13 12:34:00 +0200
commitb4e80a810e9d7c86b9d69f0d8cdaf9303318f109 (patch)
tree00a1aa23931fdfb29a3fb9cc7ca1345739cafd79
parent40600b34aa67bcf3bfce5b4cb16ef27f0068edc6 (diff)
parent1deff3fd1bc83481ffb56db69d88a718b6a15c7f (diff)
downloadotp-b4e80a810e9d7c86b9d69f0d8cdaf9303318f109.tar.gz
otp-b4e80a810e9d7c86b9d69f0d8cdaf9303318f109.tar.bz2
otp-b4e80a810e9d7c86b9d69f0d8cdaf9303318f109.zip
Merge pull request #2261 from michael-swan/fix_wxe_driver_realloc
OTP-15883
-rw-r--r--lib/wx/c_src/wxe_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/c_src/wxe_driver.c b/lib/wx/c_src/wxe_driver.c
index c9d299e0df..b94ec2f32d 100644
--- a/lib/wx/c_src/wxe_driver.c
+++ b/lib/wx/c_src/wxe_driver.c
@@ -214,7 +214,7 @@ standard_outputv(ErlDrvData drv_data, ErlIOVec* ev)
if(binref == NULL) { /* realloc */
max = sd->max_bins + DEF_BINS;
- driver_realloc(sd->bin, sizeof(WXEBinRef)*max);
+ sd->bin = driver_realloc(sd->bin, sizeof(WXEBinRef)*max);
for(i=sd->max_bins; i < max; i++) {
sd->bin[i].from = 0;
}