~ubuntu-branches/ubuntu/gutsy/gnumeric/gutsy-201105201701

« back to all changes in this revision

Viewing changes to src/symbol.c

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2007-03-08 16:16:45 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070308161645-uotkhmwywh7dkur4
Tags: 1.7.8-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#include "gutils.h"
12
12
 
13
13
#include <string.h>
14
 
#include <stdio.h>
15
14
#include <goffice/utils/go-glib-extras.h>
16
15
 
17
16
/**
89
88
        g_return_if_fail (sym != NULL);
90
89
        g_return_if_fail (sym->ref_count > 0);
91
90
 
92
 
        if (--(sym->ref_count) == 0){
 
91
        if (--(sym->ref_count) == 0) {
93
92
                g_hash_table_remove (sym->st->hash, sym->str);
94
93
                g_free (sym->str);
95
94
                g_free (sym);