Bug 121258 - free on char variable
free on char variable
Product: Fedora
Classification: Fedora
Component: gnome-vfs2 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Zeuthen
Depends On:
  Show dependency treegraph
Reported: 2004-04-19 16:00 EDT by d.binderman
Modified: 2013-03-05 22:40 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-22 00:50:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2004-04-19 16:00:44 EDT
Description of problem:

I just tried to compile Core2 Test2 package gnome-vfs2-2.5.91-2

The compiler said

menu-process.c(1528): warning #967: conversion from "char" to
"gpointer"; sizes
do not match

The source code is

          g_free (tmpchar);


  char *p, tmpchar;

It doesn't make any sense to call g_free on a char variable. I'm not
sure what the fix is for this.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Jonathan Blandford 2004-04-28 17:54:23 EDT
dan, you showed me this this weekend.  Is it fixed in Fedora?
Comment 2 Matthias Clasen 2005-04-22 00:50:16 EDT
the desktop-file-utils code got moved from gnome-vfs2 into its own package,
and the menu code got moved from desktop-file-utils into gnome-menus.

The offending line was lost on the way...

Note You need to log in before you can comment on or make changes to this bug.