Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/12 12:24:13 (13 years ago)
Author:
bburlacu
Message:

#1265: ChartControl.cs: fixed memory leak on GenerateImage() method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Visualization/HeuristicLab.Visualization/3.3/ChartControl.cs

    r4776 r7617  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.ComponentModel;
    2524using System.Drawing;
    2625using System.Drawing.Drawing2D;
    27 using System.Data;
    28 using System.Text;
    2926using System.Windows.Forms;
    3027
     
    207204          }
    208205        }
     206        if (pictureBox.Image != null) pictureBox.Image.Dispose();
    209207        pictureBox.Image = bitmap;
    210208        renderingRequired = false;
Note: See TracChangeset for help on using the changeset viewer.