thorsson_cups 0.0.37 → 0.0.38
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/cups.c +1 -5
- metadata +1 -1
data/ext/cups.c
CHANGED
@@ -192,11 +192,7 @@ static VALUE cups_show_dests(VALUE self)
|
|
192
192
|
rb_ary_push(dest_list, destination); // Add this testination name to dest_list string
|
193
193
|
}
|
194
194
|
|
195
|
-
cupsFreeDests(num_dests, dests);
|
196
|
-
|
197
|
-
if(dests != NULL)
|
198
|
-
free(dests);
|
199
|
-
|
195
|
+
cupsFreeDests(num_dests, dests);
|
200
196
|
return dest_list;
|
201
197
|
}
|
202
198
|
|