~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to exp-drd/drd_malloc_wrappers.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-19 09:57:35 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080619095735-0w0fyjp7znob3pek
Tags: upstream-3.3.1
ImportĀ upstreamĀ versionĀ 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
 
41
41
/*------------------------------------------------------------*/
42
 
/*--- Defns                                                ---*/
 
42
/*--- Definitions                                          ---*/
43
43
/*------------------------------------------------------------*/
44
44
 
45
45
 
143
143
   }
144
144
   else
145
145
   {
 
146
      tl_assert(p == mc->data);
146
147
      s_stop_using_mem_callback(mc->data, mc->data + mc->size);
 
148
      VG_(cli_free)((void*)p);
147
149
      VG_(free)(mc);
148
150
   }
149
151
}