/[winpt]/trunk/Src/wptMisc.c
ViewVC logotype

Diff of /trunk/Src/wptMisc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 296 by twoaday, Fri Dec 8 10:22:17 2006 UTC revision 297 by twoaday, Sat Mar 17 22:13:40 2007 UTC
# Line 12  Line 12 
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14   * General Public License for more details.   * General Public License for more details.
  *  
  * You should have received a copy of the GNU General Public License  
  * along with WinPT; if not, write to the Free Software Foundation,  
  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA  
15   */   */
16    
17  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
# Line 25  Line 21 
21  #include <shlobj.h>  #include <shlobj.h>
22    
23    
24  void  void
25  _SHFree (void *p)  _SHFree (void *p)
26  {  {
27      IMalloc *pm;      IMalloc *pm;
28    
29      SHGetMalloc (&pm);      SHGetMalloc (&pm);
30      if (pm) {      if (pm != NULL) {
31          pm->lpVtbl->Free (pm,p);          pm->lpVtbl->Free (pm, p);
32          pm->lpVtbl->Release (pm);          pm->lpVtbl->Release (pm);
33      }      }
34  }  }

Legend:
Removed from v.296  
changed lines
  Added in v.297

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26