~smspillaz/compiz-core/compiz-core.optimization-inlining

« back to all changes in this revision

Viewing changes to plugins/decor/src/decor.cpp

  • Committer: Alan Griffiths
  • Date: 2012-02-24 11:12:49 UTC
  • mfrom: (3018.1.1 vg)
  • Revision ID: alan@octopull.co.uk-20120224111249-f0g73gq6mlqx8i60
Fix memory leak (LP: #940115)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2257
2257
                            false, XA_WINDOW, &actualType, &actualFmt,
2258
2258
                            &nitems, &nleft, (unsigned char **) &data) == Success)
2259
2259
    {
 
2260
        if (data)
 
2261
            XFree (data);
 
2262
 
2260
2263
        if (nitems == 1)
2261
2264
        {
2262
2265
            isSwitcher = true;